Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
issues
/
issue-35600.rs
blob: 9d74726d279e54c35f1477ca4f68e4615ca6ef8f [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
unused_variables
)]
trait
Foo
{
type
bar
;
fn
bar
();
}
impl
Foo
for
()
{
type
bar
=
();
fn
bar
()
{}
}
fn
main
()
{
let
x
:
<()
as
Foo
>::
bar
=
();
<()>::
bar
();
}