Skip to content

Commit

Permalink
Add nll test output
Browse files Browse the repository at this point in the history
  • Loading branch information
estebank committed Jun 9, 2018
1 parent 6be16ba commit aaf78a5
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/test/ui/impl-trait/static-return-lifetime-infered.nll.stderr
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit aaf78a5

Please sign in to comment.