Skip to content

Commit 947c10c

Browse files
committed
remove feature(nll) from #31567 test.
1 parent b10b8a7 commit 947c10c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/test/ui/nll/issue-31567.rs

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// causing region relations not to be enforced at all the places where
33
// they have to be enforced.
44

5-
#![feature(nll)]
6-
75
struct VecWrapper<'a>(&'a mut S);
86

97
struct S(Box<u32>);

src/test/ui/nll/issue-31567.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0713]: borrow may still be in use when destructor runs
2-
--> $DIR/issue-31567.rs:12:26
2+
--> $DIR/issue-31567.rs:10:26
33
|
44
LL | fn get_dangling<'a>(v: VecWrapper<'a>) -> &'a u32 {
55
| -- lifetime `'a` defined here

0 commit comments

Comments
 (0)