remove feature(nll) from #31567 test.

This commit is contained in:
Mazdak Farrokhzad 2019-09-06 16:02:04 +02:00
parent 2fb0bba5b5
commit 1256613ac7
2 changed files with 1 additions and 3 deletions

View File

@ -2,8 +2,6 @@
// causing region relations not to be enforced at all the places where
// they have to be enforced.
#![feature(nll)]
struct VecWrapper<'a>(&'a mut S);
struct S(Box<u32>);

View File

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