Add nll test output

This commit is contained in:
Esteban Küber 2018-06-08 21:08:29 -07:00
parent 6be16baa4a
commit aaf78a5265

View File

@ -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