mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +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() {}
|