]> git.lizzy.rs Git - rust.git/blob - tests/ui/use_self.stderr
Merge pull request #1931 from rust-lang-nursery/move_links
[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 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: aborting due to 6 previous errors
40