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