mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
2903bbbc15
This commit undoes some of the previous commit's mechanical changes, based on human judgment.
11 lines
393 B
Text
11 lines
393 B
Text
error[E0046]: not all trait items implemented, missing: `drop`
|
|
--> $DIR/missing-drop-method.rs:2:1
|
|
|
|
|
LL | impl Drop for DropNoMethod {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `drop` in implementation
|
|
|
|
|
= help: implement the missing item: `fn drop(&mut self) { todo!() }`
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0046`.
|