]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/use_self.stderr
New upstream version 1.23.0+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / use_self.stderr
CommitLineData
ea8adc8c
XL
1error: unnecessary structure name repetition
2 --> $DIR/use_self.rs:14:21
3 |
414 | fn new() -> Foo {
5 | ^^^ help: use the applicable keyword: `Self`
6 |
7 = note: `-D use-self` implied by `-D warnings`
8
9error: unnecessary structure name repetition
10 --> $DIR/use_self.rs:15:13
11 |
1215 | Foo {}
13 | ^^^ help: use the applicable keyword: `Self`
14
15error: unnecessary structure name repetition
16 --> $DIR/use_self.rs:17:22
17 |
1817 | fn test() -> Foo {
19 | ^^^ help: use the applicable keyword: `Self`
20
21error: unnecessary structure name repetition
22 --> $DIR/use_self.rs:18:13
23 |
2418 | Foo::new()
25 | ^^^^^^^^ help: use the applicable keyword: `Self`
26
27error: unnecessary structure name repetition
28 --> $DIR/use_self.rs:23:25
29 |
3023 | fn default() -> Foo {
31 | ^^^ help: use the applicable keyword: `Self`
32
33error: unnecessary structure name repetition
34 --> $DIR/use_self.rs:24:13
35 |
3624 | Foo::new()
37 | ^^^^^^^^ help: use the applicable keyword: `Self`
38