1
1
error: unused import: `std::any::Any`
2
- --> tests/ui/anon_trait_imports .rs:245:9
2
+ --> tests/ui/unused_trait_names .rs:245:9
3
3
|
4
4
LL | use std::any::Any;
5
5
| ^^^^^^^^^^^^^
@@ -8,58 +8,58 @@ LL | use std::any::Any;
8
8
= help: to override `-D warnings` add `#[allow(unused_imports)]`
9
9
10
10
error: importing trait that is only used anonymously
11
- --> tests/ui/anon_trait_imports .rs:12:19
11
+ --> tests/ui/unused_trait_names .rs:12:19
12
12
|
13
13
LL | use std::any::Any;
14
14
| ^^^ help: use: `Any as _`
15
15
|
16
- = note: `-D clippy::anon -trait-imports ` implied by `-D warnings`
17
- = help: to override `-D warnings` add `#[allow(clippy::anon_trait_imports )]`
16
+ = note: `-D clippy::unused -trait-names ` implied by `-D warnings`
17
+ = help: to override `-D warnings` add `#[allow(clippy::unused_trait_names )]`
18
18
19
19
error: importing trait that is only used anonymously
20
- --> tests/ui/anon_trait_imports .rs:31:26
20
+ --> tests/ui/unused_trait_names .rs:31:26
21
21
|
22
22
LL | use std::any::{self, Any, TypeId};
23
23
| ^^^ help: use: `Any as _`
24
24
25
25
error: importing trait that is only used anonymously
26
- --> tests/ui/anon_trait_imports .rs:43:19
26
+ --> tests/ui/unused_trait_names .rs:43:19
27
27
|
28
28
LL | use std::any::Any as MyAny;
29
29
| ^^^^^^^^^^^^ help: use: `Any as _`
30
30
31
31
error: importing trait that is only used anonymously
32
- --> tests/ui/anon_trait_imports .rs:49:20
32
+ --> tests/ui/unused_trait_names .rs:49:20
33
33
|
34
34
LL | use std::any::{Any as MyAny, TypeId as MyTypeId};
35
35
| ^^^^^^^^^^^^ help: use: `Any as _`
36
36
37
37
error: importing trait that is only used anonymously
38
- --> tests/ui/anon_trait_imports .rs:72:23
38
+ --> tests/ui/unused_trait_names .rs:72:23
39
39
|
40
40
LL | use std::any::Any;
41
41
| ^^^ help: use: `Any as _`
42
42
43
43
error: importing trait that is only used anonymously
44
- --> tests/ui/anon_trait_imports .rs:113:19
44
+ --> tests/ui/unused_trait_names .rs:113:19
45
45
|
46
46
LL | use std::any::Any;
47
47
| ^^^ help: use: `Any as _`
48
48
49
49
error: importing trait that is only used anonymously
50
- --> tests/ui/anon_trait_imports .rs:132:19
50
+ --> tests/ui/unused_trait_names .rs:132:19
51
51
|
52
52
LL | use std::any::Any;
53
53
| ^^^ help: use: `Any as _`
54
54
55
55
error: importing trait that is only used anonymously
56
- --> tests/ui/anon_trait_imports .rs:191:34
56
+ --> tests/ui/unused_trait_names .rs:191:34
57
57
|
58
58
LL | use simple_trait::{MyStruct, MyTrait};
59
59
| ^^^^^^^ help: use: `MyTrait as _`
60
60
61
61
error: importing trait that is only used anonymously
62
- --> tests/ui/anon_trait_imports .rs:198:27
62
+ --> tests/ui/unused_trait_names .rs:198:27
63
63
|
64
64
LL | use std::any::Any;
65
65
| ^^^ help: use: `Any as _`
0 commit comments