about summary refs log tree commit diff
path: root/tests/ui/async-await/async-drop/async-without-sync.stderr
blob: 0eaca322dc03483e4d3be3785d0734f4cf67d60d (plain)
1
2
3
4
5
6
7
8
9
10
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