]> git.lizzy.rs Git - rust.git/blob - tests/ui/error-codes/E0120.stderr
Rollup merge of #103236 - tspiteri:redoc-int-adc-sbb, r=m-ou-se
[rust.git] / tests / ui / error-codes / E0120.stderr
1 error[E0120]: the `Drop` trait may only be implemented for local structs, enums, and unions
2   --> $DIR/E0120.rs:3:15
3    |
4 LL | impl Drop for dyn MyTrait {
5    |               ^^^^^^^^^^^ must be a struct, enum, or union in the current crate
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0120`.