1
Fork 0
rust/src/test/ui/error-codes/E0117.rs

6 lines
135 B
Rust
Raw Normal View History

2016-05-27 22:06:24 +02:00
impl Drop for u32 {} //~ ERROR E0117
//~| ERROR the `Drop` trait may only be implemented for structs, enums, and unions
2016-05-27 22:06:24 +02:00
fn main() {
}