mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
5 lines
140 B
Rust
5 lines
140 B
Rust
impl Drop for u32 {} //~ ERROR E0117
|
|
//~| ERROR the `Drop` trait may only be implemented for local structs, enums, and unions
|
|
|
|
fn main() {}
|