diff options
| author | Matthew Jasper <mjjasper1@gmail.com> | 2018-08-07 21:48:50 +0100 |
|---|---|---|
| committer | Matthew Jasper <mjjasper1@gmail.com> | 2018-08-14 20:35:47 +0100 |
| commit | 371c23fe34ceacf483a3ba72c7bec7459773440f (patch) | |
| tree | ea89d04fa3dd33738fff31f7f04b08e255aff230 /src/test/ui/underscore-lifetime | |
| parent | 372e4aee1de04517bb6f4b187d00f076499d7b15 (diff) | |
| download | rust-371c23fe34ceacf483a3ba72c7bec7459773440f.tar.gz rust-371c23fe34ceacf483a3ba72c7bec7459773440f.zip | |
Update tests
Diffstat (limited to 'src/test/ui/underscore-lifetime')
| -rw-r--r-- | src/test/ui/underscore-lifetime/dyn-trait-underscore.nll.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/underscore-lifetime/dyn-trait-underscore.nll.stderr b/src/test/ui/underscore-lifetime/dyn-trait-underscore.nll.stderr index 5b4c669c66e..799b0982b94 100644 --- a/src/test/ui/underscore-lifetime/dyn-trait-underscore.nll.stderr +++ b/src/test/ui/underscore-lifetime/dyn-trait-underscore.nll.stderr @@ -32,7 +32,7 @@ LL | fn a<T>(items: &[T]) -> Box<dyn Iterator<Item=&T>> { LL | | // ^^^^^^^^^^^^^^^^^^^^^ bound *here* defaults to `'static` LL | | Box::new(items.iter()) //~ ERROR cannot infer an appropriate lifetime LL | | } - | |_^ return requires that `'1` must outlive `'static` + | |_^ returning this value requires that `'1` must outlive `'static` error: aborting due to previous error |
