about summary refs log tree commit diff
path: root/tests/ui/drop/nonsense-drop-impl-issue-139278.stderr
blob: 825e883fa6d8aad2b8400589061b7e0ec1317f86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error[E0438]: const `SPLOK` is not a member of trait `Drop`
  --> $DIR/nonsense-drop-impl-issue-139278.rs:5:5
   |
LL |     const SPLOK: u32 = 0;
   |     ^^^^^^^^^^^^^^^^^^^^^ not a member of trait `Drop`

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

error: aborting due to 2 previous errors

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