rust/tests/ui/error-codes/E0117.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
140 B
Rust
Raw Normal View History

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