6 lines
183 B
Rust
6 lines
183 B
Rust
impl Drop for u32 {} //~ ERROR E0117
|
|
//~| ERROR the `Drop` trait may only be implemented for local structs, enums, and unions
|
|
//~| ERROR not all trait items implemented
|
|
|
|
fn main() {}
|