rust/tests/ui/impl-trait/issues/issue-83919.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
452 B
Plaintext
Raw Normal View History

2022-02-17 07:55:58 -06:00
error[E0277]: `{integer}` is not a future
--> $DIR/issue-83919.rs:21:26
2022-02-17 07:55:58 -06:00
|
LL | fn get_fut(&self) -> Self::Fut {
| ^^^^^^^^^ `{integer}` is not a future
2022-02-17 07:55:58 -06:00
|
= help: the trait `Future` is not implemented for `{integer}`
= note: {integer} must be a future or must implement `IntoFuture` to be awaited
error: aborting due to 1 previous error
2022-02-17 07:55:58 -06:00
For more information about this error, try `rustc --explain E0277`.