1 error: unnecessary structure name repetition
2 --> $DIR/use_self.rs:15:21
5 | ^^^ help: use the applicable keyword: `Self`
7 = note: `-D use-self` implied by `-D warnings`
9 error: unnecessary structure name repetition
10 --> $DIR/use_self.rs:16:13
13 | ^^^ help: use the applicable keyword: `Self`
15 error: unnecessary structure name repetition
16 --> $DIR/use_self.rs:18:22
18 18 | fn test() -> Foo {
19 | ^^^ help: use the applicable keyword: `Self`
21 error: unnecessary structure name repetition
22 --> $DIR/use_self.rs:19:13
25 | ^^^^^^^^ help: use the applicable keyword: `Self`
27 error: unnecessary structure name repetition
28 --> $DIR/use_self.rs:24:25
30 24 | fn default() -> Foo {
31 | ^^^ help: use the applicable keyword: `Self`
33 error: unnecessary structure name repetition
34 --> $DIR/use_self.rs:25:13
37 | ^^^^^^^^ help: use the applicable keyword: `Self`
39 error: unnecessary structure name repetition
40 --> $DIR/use_self.rs:87:22
42 87 | fn refs(p1: &Bad) -> &Bad {
43 | ^^^ help: use the applicable keyword: `Self`
45 error: unnecessary structure name repetition
46 --> $DIR/use_self.rs:87:31
48 87 | fn refs(p1: &Bad) -> &Bad {
49 | ^^^ help: use the applicable keyword: `Self`
51 error: unnecessary structure name repetition
52 --> $DIR/use_self.rs:91:37
54 91 | 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:91:53
60 91 | 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:95:30
66 95 | 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:95:43
72 95 | 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:99:28
78 99 | 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:99:46
84 99 | 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:102:20
90 102 | fn vals(_: Bad) -> Bad {
91 | ^^^ help: use the applicable keyword: `Self`
93 error: unnecessary structure name repetition
94 --> $DIR/use_self.rs:102:28
96 102 | fn vals(_: Bad) -> Bad {
97 | ^^^ help: use the applicable keyword: `Self`
99 error: unnecessary structure name repetition
100 --> $DIR/use_self.rs:103:13
103 | ^^^^^^^^^^^^ help: use the applicable keyword: `Self`
105 error: aborting due to 17 previous errors