Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
consts
/
const-eval
/
const_prop_errors.rs
blob: f9a36d37943f301c2538f4220a1b8f0c6f311352 [
file
] [
log
] [
blame
]
// check-pass
pub
trait
Foo
{
fn
foo
(
self
)
->
u32
;
}
impl
<
T
>
Foo
for
T
{
fn
foo
(
self
)
->
u32
{
fn
bar
<
T
>()
{
loop
{}
}
bar
::<
T
>
as
u32
}
}
fn
main
()
{}