]> git.lizzy.rs Git - rust.git/blob - tests/ui/use_self.stderr
Adapt the *.stderr files of the ui-tests to the tool_lints
[rust.git] / tests / ui / use_self.stderr
1 error: unnecessary structure name repetition
2   --> $DIR/use_self.rs:13:21
3    |
4 13 |         fn new() -> Foo {
5    |                     ^^^ help: use the applicable keyword: `Self`
6    |
7    = note: `-D clippy::use-self` implied by `-D warnings`
8
9 error: unnecessary structure name repetition
10   --> $DIR/use_self.rs:14:13
11    |
12 14 |             Foo {}
13    |             ^^^ help: use the applicable keyword: `Self`
14
15 error: unnecessary structure name repetition
16   --> $DIR/use_self.rs:16:22
17    |
18 16 |         fn test() -> Foo {
19    |                      ^^^ help: use the applicable keyword: `Self`
20
21 error: unnecessary structure name repetition
22   --> $DIR/use_self.rs:17:13
23    |
24 17 |             Foo::new()
25    |             ^^^^^^^^ help: use the applicable keyword: `Self`
26
27 error: unnecessary structure name repetition
28   --> $DIR/use_self.rs:22:25
29    |
30 22 |         fn default() -> Foo {
31    |                         ^^^ help: use the applicable keyword: `Self`
32
33 error: unnecessary structure name repetition
34   --> $DIR/use_self.rs:23:13
35    |
36 23 |             Foo::new()
37    |             ^^^^^^^^ help: use the applicable keyword: `Self`
38
39 error: unnecessary structure name repetition
40   --> $DIR/use_self.rs:86:22
41    |
42 86 |         fn refs(p1: &Bad) -> &Bad {
43    |                      ^^^ help: use the applicable keyword: `Self`
44
45 error: unnecessary structure name repetition
46   --> $DIR/use_self.rs:86:31
47    |
48 86 |         fn refs(p1: &Bad) -> &Bad {
49    |                               ^^^ help: use the applicable keyword: `Self`
50
51 error: unnecessary structure name repetition
52   --> $DIR/use_self.rs:90:37
53    |
54 90 |         fn ref_refs<'a>(p1: &'a &'a Bad) -> &'a &'a Bad {
55    |                                     ^^^ help: use the applicable keyword: `Self`
56
57 error: unnecessary structure name repetition
58   --> $DIR/use_self.rs:90:53
59    |
60 90 |         fn ref_refs<'a>(p1: &'a &'a Bad) -> &'a &'a Bad {
61    |                                                     ^^^ help: use the applicable keyword: `Self`
62
63 error: unnecessary structure name repetition
64   --> $DIR/use_self.rs:94:30
65    |
66 94 |         fn mut_refs(p1: &mut Bad) -> &mut Bad {
67    |                              ^^^ help: use the applicable keyword: `Self`
68
69 error: unnecessary structure name repetition
70   --> $DIR/use_self.rs:94:43
71    |
72 94 |         fn mut_refs(p1: &mut Bad) -> &mut Bad {
73    |                                           ^^^ help: use the applicable keyword: `Self`
74
75 error: unnecessary structure name repetition
76   --> $DIR/use_self.rs:98:28
77    |
78 98 |         fn nested(_p1: Box<Bad>, _p2: (&u8, &Bad)) {
79    |                            ^^^ help: use the applicable keyword: `Self`
80
81 error: unnecessary structure name repetition
82   --> $DIR/use_self.rs:98:46
83    |
84 98 |         fn nested(_p1: Box<Bad>, _p2: (&u8, &Bad)) {
85    |                                              ^^^ help: use the applicable keyword: `Self`
86
87 error: unnecessary structure name repetition
88    --> $DIR/use_self.rs:101:20
89     |
90 101 |         fn vals(_: Bad) -> Bad {
91     |                    ^^^ help: use the applicable keyword: `Self`
92
93 error: unnecessary structure name repetition
94    --> $DIR/use_self.rs:101:28
95     |
96 101 |         fn vals(_: Bad) -> Bad {
97     |                            ^^^ help: use the applicable keyword: `Self`
98
99 error: unnecessary structure name repetition
100    --> $DIR/use_self.rs:102:13
101     |
102 102 |             Bad::default()
103     |             ^^^^^^^^^^^^ help: use the applicable keyword: `Self`
104
105 error: unnecessary structure name repetition
106    --> $DIR/use_self.rs:107:23
107     |
108 107 |         type Output = Bad;
109     |                       ^^^ help: use the applicable keyword: `Self`
110
111 error: unnecessary structure name repetition
112    --> $DIR/use_self.rs:109:27
113     |
114 109 |         fn mul(self, rhs: Bad) -> Bad {
115     |                           ^^^ help: use the applicable keyword: `Self`
116
117 error: unnecessary structure name repetition
118    --> $DIR/use_self.rs:109:35
119     |
120 109 |         fn mul(self, rhs: Bad) -> Bad {
121     |                                   ^^^ help: use the applicable keyword: `Self`
122
123 error: aborting due to 20 previous errors
124