rust/tests/ui/async-await/track-caller/async-block.stderr

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

13 lines
351 B
Plaintext
Raw Normal View History

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`.