We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b10b8a7 commit 947c10cCopy full SHA for 947c10c
src/test/ui/nll/issue-31567.rs
@@ -2,8 +2,6 @@
2
// causing region relations not to be enforced at all the places where
3
// they have to be enforced.
4
5
-#![feature(nll)]
6
-
7
struct VecWrapper<'a>(&'a mut S);
8
9
struct S(Box<u32>);
src/test/ui/nll/issue-31567.stderr
@@ -1,5 +1,5 @@
1
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
0 commit comments