1 error[E0120]: the Drop trait may only be implemented on structures
2 --> $DIR/E0117.rs:11:15
4 LL | impl Drop for u32 {} //~ ERROR E0117
5 | ^^^ implementing Drop requires a struct
7 error[E0117]: only traits defined in the current crate can be implemented for arbitrary types
10 LL | impl Drop for u32 {} //~ ERROR E0117
11 | ^^^^^^^^^^^^^^^^^ impl doesn't use types inside crate
13 = note: the impl does not reference any types defined in this crate
14 = note: define and implement a trait or new type instead
16 error: aborting due to 2 previous errors
18 Some errors occurred: E0117, E0120.
19 For more information about an error, try `rustc --explain E0117`.