Sign in
rust
/
rust-lang
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
traits
/
span-bug-issue-121414.rs
blob: 2f4ad34f0c8588fcc7f868923f5640fbd6c88dfd [
file
] [
log
] [
blame
]
trait
Bar
{
type
Type
;
}
struct
Foo
<
'a>(&'
a
());
impl
<
'a> Bar for Foo<'
f
>
{
//~ ERROR undeclared lifetime
type
Type
=
u32
;
}
fn
test
()
where
for
<
'a> <Foo<'
a
>
as
Bar
>::
Type
:
Sized
,
{
}
fn
main
()
{}