diff options
author | Urgau <urgau@numericable.fr> | 2023-05-19 11:14:55 +0200 |
---|---|---|
committer | Urgau <urgau@numericable.fr> | 2023-05-21 13:37:32 +0200 |
commit | 1c7ab18c08109753b795bff83dd838ac8e4cdb70 (patch) | |
tree | d04414ef8f18c0677f2435b117eb2775922c4614 /tests/ui/rust-2018 | |
parent | d77014a608a97884e547d4215517ccd4babb2088 (diff) |
Rename `drop_copy` lint to `dropping_copy_types`
Diffstat (limited to 'tests/ui/rust-2018')
-rw-r--r-- | tests/ui/rust-2018/remove-extern-crate.fixed | 2 | ||||
-rw-r--r-- | tests/ui/rust-2018/remove-extern-crate.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/rust-2018/remove-extern-crate.fixed b/tests/ui/rust-2018/remove-extern-crate.fixed index 4ed4d610025..209b91af1dd 100644 --- a/tests/ui/rust-2018/remove-extern-crate.fixed +++ b/tests/ui/rust-2018/remove-extern-crate.fixed @@ -5,7 +5,7 @@ // compile-flags:--extern remove_extern_crate #![warn(rust_2018_idioms)] -#![allow(drop_copy)] +#![allow(dropping_copy_types)] //~ WARNING unused extern crate // Shouldn't suggest changing to `use`, as `another_name` diff --git a/tests/ui/rust-2018/remove-extern-crate.rs b/tests/ui/rust-2018/remove-extern-crate.rs index 5dafdb2b7b7..ef3c2db696a 100644 --- a/tests/ui/rust-2018/remove-extern-crate.rs +++ b/tests/ui/rust-2018/remove-extern-crate.rs @@ -5,7 +5,7 @@ // compile-flags:--extern remove_extern_crate #![warn(rust_2018_idioms)] -#![allow(drop_copy)] +#![allow(dropping_copy_types)] extern crate core; //~ WARNING unused extern crate // Shouldn't suggest changing to `use`, as `another_name` |