Update ui tests
This commit is contained in:
parent
994dc4bd1e
commit
bd0895d7d0
51 changed files with 208 additions and 177 deletions
|
|
@ -1,10 +1,13 @@
|
|||
error: unsatisfied lifetime constraints
|
||||
--> $DIR/issue-10291.rs:12:5
|
||||
--> $DIR/issue-10291.rs:12:65
|
||||
|
|
||||
LL | fn test<'x>(x: &'x isize) {
|
||||
| -- lifetime `'x` defined here
|
||||
LL | drop::<Box<for<'z> FnMut(&'z isize) -> &'z isize>>(Box::new(|z| {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ requires that `'x` must outlive `'static`
|
||||
LL | fn test<'x>(x: &'x isize) {
|
||||
| -- lifetime `'x` defined here
|
||||
LL | drop::<Box<for<'z> FnMut(&'z isize) -> &'z isize>>(Box::new(|z| {
|
||||
| _________________________________________________________________^
|
||||
LL | | x //~ ERROR E0312
|
||||
LL | | }));
|
||||
| |_____^ closure body requires that `'x` must outlive `'static`
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue