Files
rust/tests/ui/async-await/async-drop/async-without-sync.stderr

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

11 lines
309 B
Plaintext
Raw Permalink Normal View History

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