11error: importing trait that is only used anonymously
2- --> tests/ui/anon_trait_import.rs:5 :19
2+ --> tests/ui/anon_trait_import.rs:7 :19
33 |
44LL | use std::any::Any;
55 | ^^^ help: use: `Any as _`
@@ -8,37 +8,37 @@ LL | use std::any::Any;
88 = help: to override `-D warnings` add `#[allow(clippy::anon_trait_import)]`
99
1010error: importing trait that is only used anonymously
11- --> tests/ui/anon_trait_import.rs:24 :26
11+ --> tests/ui/anon_trait_import.rs:26 :26
1212 |
1313LL | use std::any::{self, Any, TypeId};
1414 | ^^^ help: use: `Any as _`
1515
1616error: importing trait that is only used anonymously
17- --> tests/ui/anon_trait_import.rs:36 :19
17+ --> tests/ui/anon_trait_import.rs:38 :19
1818 |
1919LL | use std::any::Any as MyAny;
2020 | ^^^^^^^^^^^^ help: use: `Any as _`
2121
2222error: importing trait that is only used anonymously
23- --> tests/ui/anon_trait_import.rs:42 :20
23+ --> tests/ui/anon_trait_import.rs:44 :20
2424 |
2525LL | use std::any::{Any as MyAny, TypeId as MyTypeId};
2626 | ^^^^^^^^^^^^ help: use: `Any as _`
2727
2828error: importing trait that is only used anonymously
29- --> tests/ui/anon_trait_import.rs:65 :23
29+ --> tests/ui/anon_trait_import.rs:67 :23
3030 |
3131LL | use std::any::Any;
3232 | ^^^ help: use: `Any as _`
3333
3434error: importing trait that is only used anonymously
35- --> tests/ui/anon_trait_import.rs:106 :19
35+ --> tests/ui/anon_trait_import.rs:108 :19
3636 |
3737LL | use std::any::Any;
3838 | ^^^ help: use: `Any as _`
3939
4040error: importing trait that is only used anonymously
41- --> tests/ui/anon_trait_import.rs:125 :19
41+ --> tests/ui/anon_trait_import.rs:127 :19
4242 |
4343LL | use std::any::Any;
4444 | ^^^ help: use: `Any as _`
0 commit comments