Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
nll
/
projection-return.rs
blob: 8ca2a627eccfc28e52f091a2ebfa184f9fa6bf2b [
file
] [
log
] [
blame
]
//@ check-pass
#![
feature
(
rustc_attrs
)]
trait
Foo
{
type
Bar
;
}
impl
Foo
for
()
{
type
Bar
=
u32
;
}
fn
foo
()
->
<()
as
Foo
>::
Bar
{
22
}
fn
main
()
{
}