@@ -37,93 +37,93 @@ error: unnecessary structure name repetition
37
37
| ^^^^^^^^ help: use the applicable keyword: `Self`
38
38
39
39
error: unnecessary structure name repetition
40
- --> $DIR/use_self.rs:96 :22
40
+ --> $DIR/use_self.rs:95 :22
41
41
|
42
- 96 | fn refs(p1: &Bad) -> &Bad {
42
+ 95 | fn refs(p1: &Bad) -> &Bad {
43
43
| ^^^ help: use the applicable keyword: `Self`
44
44
45
45
error: unnecessary structure name repetition
46
- --> $DIR/use_self.rs:96 :31
46
+ --> $DIR/use_self.rs:95 :31
47
47
|
48
- 96 | fn refs(p1: &Bad) -> &Bad {
48
+ 95 | fn refs(p1: &Bad) -> &Bad {
49
49
| ^^^ help: use the applicable keyword: `Self`
50
50
51
51
error: unnecessary structure name repetition
52
- --> $DIR/use_self.rs:100 :37
53
- |
54
- 100 | fn ref_refs<'a>(p1: &'a &'a Bad) -> &'a &'a Bad {
55
- | ^^^ help: use the applicable keyword: `Self`
52
+ --> $DIR/use_self.rs:99 :37
53
+ |
54
+ 99 | fn ref_refs<'a>(p1: &'a &'a Bad) -> &'a &'a Bad {
55
+ | ^^^ help: use the applicable keyword: `Self`
56
56
57
57
error: unnecessary structure name repetition
58
- --> $DIR/use_self.rs:100 :53
59
- |
60
- 100 | fn ref_refs<'a>(p1: &'a &'a Bad) -> &'a &'a Bad {
61
- | ^^^ help: use the applicable keyword: `Self`
58
+ --> $DIR/use_self.rs:99 :53
59
+ |
60
+ 99 | fn ref_refs<'a>(p1: &'a &'a Bad) -> &'a &'a Bad {
61
+ | ^^^ help: use the applicable keyword: `Self`
62
62
63
63
error: unnecessary structure name repetition
64
- --> $DIR/use_self.rs:104 :30
64
+ --> $DIR/use_self.rs:103 :30
65
65
|
66
- 104 | fn mut_refs(p1: &mut Bad) -> &mut Bad {
66
+ 103 | fn mut_refs(p1: &mut Bad) -> &mut Bad {
67
67
| ^^^ help: use the applicable keyword: `Self`
68
68
69
69
error: unnecessary structure name repetition
70
- --> $DIR/use_self.rs:104 :43
70
+ --> $DIR/use_self.rs:103 :43
71
71
|
72
- 104 | fn mut_refs(p1: &mut Bad) -> &mut Bad {
72
+ 103 | fn mut_refs(p1: &mut Bad) -> &mut Bad {
73
73
| ^^^ help: use the applicable keyword: `Self`
74
74
75
75
error: unnecessary structure name repetition
76
- --> $DIR/use_self.rs:108 :28
76
+ --> $DIR/use_self.rs:107 :28
77
77
|
78
- 108 | fn nested(_p1: Box<Bad>, _p2: (&u8, &Bad)) {}
78
+ 107 | fn nested(_p1: Box<Bad>, _p2: (&u8, &Bad)) {}
79
79
| ^^^ help: use the applicable keyword: `Self`
80
80
81
81
error: unnecessary structure name repetition
82
- --> $DIR/use_self.rs:108 :46
82
+ --> $DIR/use_self.rs:107 :46
83
83
|
84
- 108 | fn nested(_p1: Box<Bad>, _p2: (&u8, &Bad)) {}
84
+ 107 | fn nested(_p1: Box<Bad>, _p2: (&u8, &Bad)) {}
85
85
| ^^^ help: use the applicable keyword: `Self`
86
86
87
87
error: unnecessary structure name repetition
88
- --> $DIR/use_self.rs:110 :20
88
+ --> $DIR/use_self.rs:109 :20
89
89
|
90
- 110 | fn vals(_: Bad) -> Bad {
90
+ 109 | fn vals(_: Bad) -> Bad {
91
91
| ^^^ help: use the applicable keyword: `Self`
92
92
93
93
error: unnecessary structure name repetition
94
- --> $DIR/use_self.rs:110 :28
94
+ --> $DIR/use_self.rs:109 :28
95
95
|
96
- 110 | fn vals(_: Bad) -> Bad {
96
+ 109 | fn vals(_: Bad) -> Bad {
97
97
| ^^^ help: use the applicable keyword: `Self`
98
98
99
99
error: unnecessary structure name repetition
100
- --> $DIR/use_self.rs:111 :13
100
+ --> $DIR/use_self.rs:110 :13
101
101
|
102
- 111 | Bad::default()
102
+ 110 | Bad::default()
103
103
| ^^^^^^^^^^^^ help: use the applicable keyword: `Self`
104
104
105
105
error: unnecessary structure name repetition
106
- --> $DIR/use_self.rs:116 :23
106
+ --> $DIR/use_self.rs:115 :23
107
107
|
108
- 116 | type Output = Bad;
108
+ 115 | type Output = Bad;
109
109
| ^^^ help: use the applicable keyword: `Self`
110
110
111
111
error: unnecessary structure name repetition
112
- --> $DIR/use_self.rs:118 :27
112
+ --> $DIR/use_self.rs:117 :27
113
113
|
114
- 118 | fn mul(self, rhs: Bad) -> Bad {
114
+ 117 | fn mul(self, rhs: Bad) -> Bad {
115
115
| ^^^ help: use the applicable keyword: `Self`
116
116
117
117
error: unnecessary structure name repetition
118
- --> $DIR/use_self.rs:118 :35
118
+ --> $DIR/use_self.rs:117 :35
119
119
|
120
- 118 | fn mul(self, rhs: Bad) -> Bad {
120
+ 117 | fn mul(self, rhs: Bad) -> Bad {
121
121
| ^^^ help: use the applicable keyword: `Self`
122
122
123
123
error: unnecessary structure name repetition
124
- --> $DIR/use_self.rs:210 :56
124
+ --> $DIR/use_self.rs:209 :56
125
125
|
126
- 210 | fn bad(foos: &[Self]) -> impl Iterator<Item = &Foo> {
126
+ 209 | fn bad(foos: &[Self]) -> impl Iterator<Item = &Foo> {
127
127
| ^^^ help: use the applicable keyword: `Self`
128
128
129
129
error: aborting due to 21 previous errors
0 commit comments