bless test output
This commit is contained in:
parent
adba6a8f90
commit
5d44bebb32
2 changed files with 3 additions and 6 deletions
|
@ -8,9 +8,9 @@ struct CopyIfEq<T, U>(T, U);
|
|||
impl<T: Copy> Copy for CopyIfEq<T, T> {}
|
||||
|
||||
existential type E<'a, 'b>: Sized;
|
||||
//~^ ERROR lifetime may not live long enough
|
||||
|
||||
fn foo<'a, 'b, 'c>(x: &'static i32, mut y: &'a i32) -> E<'b, 'c> {
|
||||
//~^ ERROR lifetime may not live long enough
|
||||
let v = CopyIfEq::<*mut _, *mut _>(&mut {x}, &mut y);
|
||||
let u = v;
|
||||
let _: *mut &'a i32 = u.1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue