mirror of
https://github.com/openharmony/third_party_rust_rust.git
synced 2026-07-19 11:43:39 -04:00
Fix fulldeps-ui tests
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
error[E0597]: `arena` does not live long enough
|
||||
--> $DIR/dropck-tarena-cycle-checked.rs:116:7
|
||||
|
|
||||
LL | let arena = TypedArena::default();
|
||||
| ----- binding `arena` declared here
|
||||
LL | f(&arena);
|
||||
| ^^^^^^ borrowed value does not live long enough
|
||||
LL | }
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
error[E0597]: `arena` does not live long enough
|
||||
--> $DIR/dropck-tarena-unsound-drop.rs:41:7
|
||||
|
|
||||
LL | let arena: TypedArena<C> = TypedArena::default();
|
||||
| ----- binding `arena` declared here
|
||||
LL | f(&arena);
|
||||
| ^^^^^^ borrowed value does not live long enough
|
||||
LL | }
|
||||
|
||||
Reference in New Issue
Block a user