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-27 20:06:24 +00:00
impl Drop for u32 {} //~ ERROR E0117
//~| ERROR the `Drop` trait may only be implemented for local structs, enums, and unions
2016-05-27 20:06:24 +00:00
fn main() {}