1
1
error: 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
3
3
|
4
4
LL | use std::any::Any;
5
5
| ^^^ help: use: `Any as _`
@@ -8,37 +8,37 @@ LL | use std::any::Any;
8
8
= help: to override `-D warnings` add `#[allow(clippy::anon_trait_import)]`
9
9
10
10
error: 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
12
12
|
13
13
LL | use std::any::{self, Any, TypeId};
14
14
| ^^^ help: use: `Any as _`
15
15
16
16
error: 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
18
18
|
19
19
LL | use std::any::Any as MyAny;
20
20
| ^^^^^^^^^^^^ help: use: `Any as _`
21
21
22
22
error: 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
24
24
|
25
25
LL | use std::any::{Any as MyAny, TypeId as MyTypeId};
26
26
| ^^^^^^^^^^^^ help: use: `Any as _`
27
27
28
28
error: 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
30
30
|
31
31
LL | use std::any::Any;
32
32
| ^^^ help: use: `Any as _`
33
33
34
34
error: 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
36
36
|
37
37
LL | use std::any::Any;
38
38
| ^^^ help: use: `Any as _`
39
39
40
40
error: 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
42
42
|
43
43
LL | use std::any::Any;
44
44
| ^^^ help: use: `Any as _`
0 commit comments