about summary refs log tree commit diff
path: root/tests/ui/async-await/async-drop/unexpected-sort.stderr
blob: a6e4f9fd57307a45ecfc6549ea4ba9dd577733b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
error[E0407]: method `b` is not a member of trait `Drop`
  --> $DIR/unexpected-sort.rs:10:5
   |
LL |     fn b() {}
   |     ^^^^^^^^^ not a member of trait `Drop`

error[E0437]: type `c` is not a member of trait `AsyncDrop`
  --> $DIR/unexpected-sort.rs:13:5
   |
LL |     type c = ();
   |     ^^^^^^^^^^^^ not a member of trait `AsyncDrop`

error[E0046]: not all trait items implemented, missing: `drop`
  --> $DIR/unexpected-sort.rs:9:1
   |
LL | impl Drop for a {
   | ^^^^^^^^^^^^^^^ missing `drop` in implementation
   |
   = help: implement the missing item: `fn drop(&mut self) { todo!() }`

error[E0046]: not all trait items implemented, missing: `drop`
  --> $DIR/unexpected-sort.rs:12:1
   |
LL | impl AsyncDrop for a {
   | ^^^^^^^^^^^^^^^^^^^^ missing `drop` in implementation
   |
   = help: implement the missing item: `async fn drop(self: Pin<&mut Self>) { todo!() }`

error: aborting due to 4 previous errors

Some errors have detailed explanations: E0046, E0407, E0437.
For more information about an error, try `rustc --explain E0046`.