diff options
| author | Matthew Jasper <mjjasper1@gmail.com> | 2020-01-11 17:18:58 +0000 |
|---|---|---|
| committer | Matthew Jasper <mjjasper1@gmail.com> | 2020-02-14 22:40:03 +0000 |
| commit | 78e0ab53fb4ac444e7d62735f0b8dcc9a42004f6 (patch) | |
| tree | 5a346f980694cd57012fe61dea3a3abcf1c396b8 /src/test/ui/async-await | |
| parent | e3e5d27f23f466f7a9e65950e6ce32169ad2a557 (diff) | |
| download | rust-78e0ab53fb4ac444e7d62735f0b8dcc9a42004f6.tar.gz rust-78e0ab53fb4ac444e7d62735f0b8dcc9a42004f6.zip | |
Update tests
Diffstat (limited to 'src/test/ui/async-await')
| -rw-r--r-- | src/test/ui/async-await/issues/issue-63388-1.nll.stderr | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/test/ui/async-await/issues/issue-63388-1.nll.stderr b/src/test/ui/async-await/issues/issue-63388-1.nll.stderr index 4ae3971e90e..8e0e1ce3dc3 100644 --- a/src/test/ui/async-await/issues/issue-63388-1.nll.stderr +++ b/src/test/ui/async-await/issues/issue-63388-1.nll.stderr @@ -1,11 +1,3 @@ -error[E0700]: hidden type for `impl Trait` captures lifetime that does not appear in bounds - --> $DIR/issue-63388-1.rs:12:10 - | -LL | ) -> &dyn Foo - | ^^^^^^^^ - | - = note: hidden type `impl std::future::Future` captures lifetime '_#22r - error: lifetime may not live long enough --> $DIR/issue-63388-1.rs:13:5 | @@ -19,6 +11,5 @@ LL | | foo LL | | } | |_____^ function was supposed to return data with lifetime `'a` but it is returning data with lifetime `'1` -error: aborting due to 2 previous errors +error: aborting due to previous error -For more information about this error, try `rustc --explain E0700`. |
