Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
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
()
{
}