]> git.proxmox.com Git - rustc.git/blame - src/test/ui/error-codes/E0120.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / error-codes / E0120.stderr
CommitLineData
f2b60f7d 1error[E0120]: the `Drop` trait may only be implemented for local structs, enums, and unions
0731742a 2 --> $DIR/E0120.rs:3:15
2c00a5a8 3 |
dc9dc135 4LL | impl Drop for dyn MyTrait {
f2b60f7d 5 | ^^^^^^^^^^^ must be a struct, enum, or union in the current crate
2c00a5a8
XL
6
7error: aborting due to previous error
8
0531ce1d 9For more information about this error, try `rustc --explain E0120`.