]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/nll/user-annotations/pattern_substs_on_tuple_enum_variant.rs
9 let foo
= Foo
::Bar(&y
);
10 //~^ ERROR `y` does not live long enough
11 let Foo
::Bar
::<'
static>(_z
) = foo
;
16 let foo
= Foo
::Bar(&y
);
17 //~^ ERROR `y` does not live long enough
19 Foo
::Bar
::<'
static>(_z
) => {