mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
12 lines
380 B
Plaintext
12 lines
380 B
Plaintext
error[E0186]: method `drop` has a `&mut self` declaration in the trait, but not in the impl
|
|
--> $DIR/recursion-check-on-erroneous-impl.rs:8:5
|
|
|
|
|
LL | fn drop() {}
|
|
| ^^^^^^^^^ expected `&mut self` in impl
|
|
|
|
|
= note: `drop` from trait: `fn(&mut Self)`
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0186`.
|