Skip to content

Commit

Permalink
remove feature(nll) from rust-lang#31567 test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Centril committed Sep 26, 2019
1 parent 2fb0bba commit 1256613
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/test/ui/nll/issue-31567.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>);
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/nll/issue-31567.stderr
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 1256613

Please sign in to comment.