blob: 407439921c0d44dccec43274a576a60f4ed62ed5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
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`.
|