diff options
Diffstat (limited to 'tests/ui/error-codes/E0117.rs')
-rw-r--r-- | tests/ui/error-codes/E0117.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/error-codes/E0117.rs b/tests/ui/error-codes/E0117.rs new file mode 100644 index 000000000..406d24e36 --- /dev/null +++ b/tests/ui/error-codes/E0117.rs @@ -0,0 +1,4 @@ +impl Drop for u32 {} //~ ERROR E0117 +//~| ERROR the `Drop` trait may only be implemented for local structs, enums, and unions + +fn main() {} |