Sign in
fuchsia
/
third_party
/
rust
/
3bee49f42b6dfb039d2a8e59e5181e26531c3c11
/
.
/
src
/
test
/
ui
/
nll
/
projection-return.rs
blob: b2c9a087e0e02c9c597bd67f596df4378f95daea [
file
] [
log
] [
blame
]
// compile-flags:-Zborrowck=mir
// compile-pass
#![
feature
(
rustc_attrs
)]
trait
Foo
{
type
Bar
;
}
impl
Foo
for
()
{
type
Bar
=
u32
;
}
fn
foo
()
->
<()
as
Foo
>::
Bar
{
22
}
fn
main
()
{
}