We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6be16ba commit aaf78a5Copy full SHA for aaf78a5
src/test/ui/impl-trait/static-return-lifetime-infered.nll.stderr
@@ -0,0 +1,26 @@
1
+warning: not reporting region error due to nll
2
+ --> $DIR/static-return-lifetime-infered.rs:17:16
3
+ |
4
+LL | self.x.iter().map(|a| a.0)
5
+ | ^^^^
6
+
7
8
+ --> $DIR/static-return-lifetime-infered.rs:21:16
9
10
11
12
13
+error: free region `` does not outlive free region `'static`
14
+ --> $DIR/static-return-lifetime-infered.rs:17:9
15
16
17
+ | ^^^^^^^^^^^^^
18
19
+error: free region `'a` does not outlive free region `'static`
20
+ --> $DIR/static-return-lifetime-infered.rs:21:9
21
22
23
24
25
+error: aborting due to 2 previous errors
26
0 commit comments