diff options
Diffstat (limited to 'tests/ui/drop/drop-struct-as-object.rs')
| -rw-r--r-- | tests/ui/drop/drop-struct-as-object.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/drop/drop-struct-as-object.rs b/tests/ui/drop/drop-struct-as-object.rs index 377027a4fc5..1aa68777042 100644 --- a/tests/ui/drop/drop-struct-as-object.rs +++ b/tests/ui/drop/drop-struct-as-object.rs @@ -12,7 +12,7 @@ struct Cat { } trait Dummy { - fn get(&self) -> usize; + fn get(&self) -> usize; //~ WARN method `get` is never used } impl Dummy for Cat { |
