Skip to content

Commit e4f61af

Browse files
committed
Fix fulldeps-ui tests
1 parent 656db98 commit e4f61af

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/ui-fulldeps/dropck-tarena-cycle-checked.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
error[E0597]: `arena` does not live long enough
22
--> $DIR/dropck-tarena-cycle-checked.rs:116:7
33
|
4+
LL | let arena = TypedArena::default();
5+
| ----- binding `arena` declared here
46
LL | f(&arena);
57
| ^^^^^^ borrowed value does not live long enough
68
LL | }

tests/ui-fulldeps/dropck-tarena-unsound-drop.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
error[E0597]: `arena` does not live long enough
22
--> $DIR/dropck-tarena-unsound-drop.rs:41:7
33
|
4+
LL | let arena: TypedArena<C> = TypedArena::default();
5+
| ----- binding `arena` declared here
46
LL | f(&arena);
57
| ^^^^^^ borrowed value does not live long enough
68
LL | }

0 commit comments

Comments
 (0)