Sign in
fuchsia
/
third_party
/
rust
/
12307b3b08edee543a78fb9d4a837fbd6d6ac0fa
/
.
/
src
/
test
/
ui
/
nll
/
projection-return.rs
blob: 5c340434691f19066225347ba6ec8b6a18b0e75e [
file
] [
log
] [
blame
]
// compile-flags:-Zborrowck=mir
// build-pass (FIXME(62277): could be check-pass?)
#![
feature
(
rustc_attrs
)]
trait
Foo
{
type
Bar
;
}
impl
Foo
for
()
{
type
Bar
=
u32
;
}
fn
foo
()
->
<()
as
Foo
>::
Bar
{
22
}
fn
main
()
{
}