summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0117.rs
blob: 406d24e36661449a7ab28ea6eb36dc75314daa8c (plain)
1
2
3
4
impl Drop for u32 {} //~ ERROR E0117
//~| ERROR the `Drop` trait may only be implemented for local structs, enums, and unions

fn main() {}