diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:03 +0000 |
commit | 64d98f8ee037282c35007b64c2649055c56af1db (patch) | |
tree | 5492bcf97fce41ee1c0b1cc2add283f3e66cdab0 /src/test/ui/suggestions/issue-96555.stderr | |
parent | Adding debian version 1.67.1+dfsg1-1. (diff) | |
download | rustc-64d98f8ee037282c35007b64c2649055c56af1db.tar.xz rustc-64d98f8ee037282c35007b64c2649055c56af1db.zip |
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/suggestions/issue-96555.stderr')
-rw-r--r-- | src/test/ui/suggestions/issue-96555.stderr | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/src/test/ui/suggestions/issue-96555.stderr b/src/test/ui/suggestions/issue-96555.stderr deleted file mode 100644 index 9a8a183dc..000000000 --- a/src/test/ui/suggestions/issue-96555.stderr +++ /dev/null @@ -1,66 +0,0 @@ -error[E0277]: `()` is not a future - --> $DIR/issue-96555.rs:4:12 - | -LL | m::f1().await; - | -------^^^^^^ `()` is not a future - | | - | this call returns `()` - | - = help: the trait `Future` is not implemented for `()` - = note: () must be a future or must implement `IntoFuture` to be awaited - = note: required for `()` to implement `IntoFuture` -help: remove the `.await` - | -LL - m::f1().await; -LL + m::f1(); - | -help: alternatively, consider making `fn f1` asynchronous - | -LL | pub async fn f1() {} - | +++++ - -error[E0277]: `()` is not a future - --> $DIR/issue-96555.rs:5:12 - | -LL | m::f2().await; - | -------^^^^^^ `()` is not a future - | | - | this call returns `()` - | - = help: the trait `Future` is not implemented for `()` - = note: () must be a future or must implement `IntoFuture` to be awaited - = note: required for `()` to implement `IntoFuture` -help: remove the `.await` - | -LL - m::f2().await; -LL + m::f2(); - | -help: alternatively, consider making `fn f2` asynchronous - | -LL | pub(crate) async fn f2() {} - | +++++ - -error[E0277]: `()` is not a future - --> $DIR/issue-96555.rs:6:12 - | -LL | m::f3().await; - | -------^^^^^^ `()` is not a future - | | - | this call returns `()` - | - = help: the trait `Future` is not implemented for `()` - = note: () must be a future or must implement `IntoFuture` to be awaited - = note: required for `()` to implement `IntoFuture` -help: remove the `.await` - | -LL - m::f3().await; -LL + m::f3(); - | -help: alternatively, consider making `fn f3` asynchronous - | -LL | pub async - | +++++ - -error: aborting due to 3 previous errors - -For more information about this error, try `rustc --explain E0277`. |