1 error: unnecessary structure name repetition
2 --> $DIR/use_self.rs:13:21
5 | ^^^ help: use the applicable keyword: `Self`
7 = note: `-D clippy::use-self` implied by `-D warnings`
9 error: unnecessary structure name repetition
10 --> $DIR/use_self.rs:14:13
13 | ^^^ help: use the applicable keyword: `Self`
15 error: unnecessary structure name repetition
16 --> $DIR/use_self.rs:16:22
18 16 | fn test() -> Foo {
19 | ^^^ help: use the applicable keyword: `Self`
21 error: unnecessary structure name repetition
22 --> $DIR/use_self.rs:17:13
25 | ^^^^^^^^ help: use the applicable keyword: `Self`
27 error: unnecessary structure name repetition
28 --> $DIR/use_self.rs:22:25
30 22 | fn default() -> Foo {
31 | ^^^ help: use the applicable keyword: `Self`
33 error: unnecessary structure name repetition
34 --> $DIR/use_self.rs:23:13
37 | ^^^^^^^^ help: use the applicable keyword: `Self`
39 error: unnecessary structure name repetition
40 --> $DIR/use_self.rs:86:22
42 86 | fn refs(p1: &Bad) -> &Bad {
43 | ^^^ help: use the applicable keyword: `Self`
45 error: unnecessary structure name repetition
46 --> $DIR/use_self.rs:86:31
48 86 | fn refs(p1: &Bad) -> &Bad {
49 | ^^^ help: use the applicable keyword: `Self`
51 error: unnecessary structure name repetition
52 --> $DIR/use_self.rs:90:37
54 90 | fn ref_refs<'a>(p1: &'a &'a Bad) -> &'a &'a Bad {
55 | ^^^ help: use the applicable keyword: `Self`
57 error: unnecessary structure name repetition
58 --> $DIR/use_self.rs:90:53
60 90 | fn ref_refs<'a>(p1: &'a &'a Bad) -> &'a &'a Bad {
61 | ^^^ help: use the applicable keyword: `Self`
63 error: unnecessary structure name repetition
64 --> $DIR/use_self.rs:94:30
66 94 | fn mut_refs(p1: &mut Bad) -> &mut Bad {
67 | ^^^ help: use the applicable keyword: `Self`
69 error: unnecessary structure name repetition
70 --> $DIR/use_self.rs:94:43
72 94 | fn mut_refs(p1: &mut Bad) -> &mut Bad {
73 | ^^^ help: use the applicable keyword: `Self`
75 error: unnecessary structure name repetition
76 --> $DIR/use_self.rs:98:28
78 98 | fn nested(_p1: Box<Bad>, _p2: (&u8, &Bad)) {
79 | ^^^ help: use the applicable keyword: `Self`
81 error: unnecessary structure name repetition
82 --> $DIR/use_self.rs:98:46
84 98 | fn nested(_p1: Box<Bad>, _p2: (&u8, &Bad)) {
85 | ^^^ help: use the applicable keyword: `Self`
87 error: unnecessary structure name repetition
88 --> $DIR/use_self.rs:101:20
90 101 | fn vals(_: Bad) -> Bad {
91 | ^^^ help: use the applicable keyword: `Self`
93 error: unnecessary structure name repetition
94 --> $DIR/use_self.rs:101:28
96 101 | fn vals(_: Bad) -> Bad {
97 | ^^^ help: use the applicable keyword: `Self`
99 error: unnecessary structure name repetition
100 --> $DIR/use_self.rs:102:13
103 | ^^^^^^^^^^^^ help: use the applicable keyword: `Self`
105 error: unnecessary structure name repetition
106 --> $DIR/use_self.rs:107:23
108 107 | type Output = Bad;
109 | ^^^ help: use the applicable keyword: `Self`
111 error: unnecessary structure name repetition
112 --> $DIR/use_self.rs:109:27
114 109 | fn mul(self, rhs: Bad) -> Bad {
115 | ^^^ help: use the applicable keyword: `Self`
117 error: unnecessary structure name repetition
118 --> $DIR/use_self.rs:109:35
120 109 | fn mul(self, rhs: Bad) -> Bad {
121 | ^^^ help: use the applicable keyword: `Self`
123 error: aborting due to 20 previous errors