mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 18:27:37 +00:00
11 lines
309 B
Plaintext
11 lines
309 B
Plaintext
error: `AsyncDrop` impl without `Drop` impl
|
|
--> $DIR/async-without-sync.rs:15:1
|
|
|
|
|
LL | impl AsyncDrop for St {
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= help: type implementing `AsyncDrop` trait must also implement `Drop` trait to be used in sync context and unwinds
|
|
|
|
error: aborting due to 1 previous error
|
|
|