2020-05-02 19:50:57 +00:00
|
|
|
error[E0425]: cannot find value `u` in this scope
|
2022-02-14 16:10:22 +00:00
|
|
|
--> $DIR/issues-71798.rs:7:24
|
2020-05-02 19:50:57 +00:00
|
|
|
|
|
|
|
|
LL | let _ = test_ref & u;
|
|
|
|
| ^ not found in this scope
|
|
|
|
|
2020-06-18 17:30:47 +00:00
|
|
|
error[E0277]: `u32` is not a future
|
2022-02-14 16:10:22 +00:00
|
|
|
--> $DIR/issues-71798.rs:2:5
|
2020-05-02 19:50:57 +00:00
|
|
|
|
|
2022-02-14 16:10:22 +00:00
|
|
|
LL | *x
|
|
|
|
| ^^ `u32` is not a future
|
2020-05-02 19:50:57 +00:00
|
|
|
|
|
2020-09-02 07:40:56 +00:00
|
|
|
= help: the trait `Future` is not implemented for `u32`
|
2021-12-03 00:12:25 +00:00
|
|
|
= note: u32 must be a future or must implement `IntoFuture` to be awaited
|
2020-05-02 19:50:57 +00:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
Some errors have detailed explanations: E0277, E0425.
|
|
|
|
For more information about an error, try `rustc --explain E0277`.
|