Add nll test output
This commit is contained in:
parent
6be16baa4a
commit
aaf78a5265
@ -0,0 +1,26 @@
|
||||
warning: not reporting region error due to nll
|
||||
--> $DIR/static-return-lifetime-infered.rs:17:16
|
||||
|
|
||||
LL | self.x.iter().map(|a| a.0)
|
||||
| ^^^^
|
||||
|
||||
warning: not reporting region error due to nll
|
||||
--> $DIR/static-return-lifetime-infered.rs:21:16
|
||||
|
|
||||
LL | self.x.iter().map(|a| a.0)
|
||||
| ^^^^
|
||||
|
||||
error: free region `` does not outlive free region `'static`
|
||||
--> $DIR/static-return-lifetime-infered.rs:17:9
|
||||
|
|
||||
LL | self.x.iter().map(|a| a.0)
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: free region `'a` does not outlive free region `'static`
|
||||
--> $DIR/static-return-lifetime-infered.rs:21:9
|
||||
|
|
||||
LL | self.x.iter().map(|a| a.0)
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: aborting due to 2 previous errors
|
||||
|
Loading…
x
Reference in New Issue
Block a user