rust/tests/ui/async-await/track-caller/async-block.stderr
2023-01-11 09:32:08 +00:00

13 lines
351 B
Plaintext

error[E0739]: attribute should be applied to a function definition
--> $DIR/async-block.rs:6:13
|
LL | let _ = #[track_caller] async {
| _____________^^^^^^^^^^^^^^^_-
LL | |
LL | | };
| |_____- not a function definition
error: aborting due to previous error
For more information about this error, try `rustc --explain E0739`.