diff options
Diffstat (limited to 'src/test/ui/error-codes/E0117.rs')
| -rw-r--r-- | src/test/ui/error-codes/E0117.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/ui/error-codes/E0117.rs b/src/test/ui/error-codes/E0117.rs index 18dd809f3ff..dbbac514801 100644 --- a/src/test/ui/error-codes/E0117.rs +++ b/src/test/ui/error-codes/E0117.rs @@ -1,6 +1,5 @@ impl Drop for u32 {} //~ ERROR E0117 -//~| ERROR the Drop trait may only be implemented on structures -//~| implementing Drop requires a struct +//~| ERROR the `Drop` trait may only be implemented for structs, enums, and unions fn main() { } |
