]> git.proxmox.com Git - rustc.git/blame - src/test/ui/resolve/issue-2356.stderr
New upstream version 1.20.0+dfsg1
[rustc.git] / src / test / ui / resolve / issue-2356.stderr
CommitLineData
32a655c1
SL
1error[E0425]: cannot find function `shave` in this scope
2 --> $DIR/issue-2356.rs:27:5
3 |
427 | shave();
5 | ^^^^^ not found in this scope
6
7error[E0425]: cannot find function `clone` in this scope
8 --> $DIR/issue-2356.rs:35:5
9 |
1035 | clone();
041b39d2 11 | ^^^^^ help: try: `self.clone`
32a655c1
SL
12
13error[E0425]: cannot find function `default` in this scope
14 --> $DIR/issue-2356.rs:43:5
15 |
1643 | default();
041b39d2 17 | ^^^^^^^ help: try: `Self::default`
32a655c1
SL
18
19error[E0425]: cannot find value `whiskers` in this scope
20 --> $DIR/issue-2356.rs:52:5
21 |
2252 | whiskers -= other;
23 | ^^^^^^^^
24 | |
041b39d2 25 | help: try: `self.whiskers`
32a655c1
SL
26 | `self` value is only available in methods with `self` parameter
27
28error[E0425]: cannot find function `shave` in this scope
29 --> $DIR/issue-2356.rs:57:5
30 |
3157 | shave(4);
041b39d2 32 | ^^^^^ help: try: `Self::shave`
32a655c1
SL
33
34error[E0425]: cannot find function `purr` in this scope
35 --> $DIR/issue-2356.rs:60:5
36 |
3760 | purr();
38 | ^^^^ not found in this scope
39
40error[E0425]: cannot find function `static_method` in this scope
41 --> $DIR/issue-2356.rs:70:9
42 |
4370 | static_method();
44 | ^^^^^^^^^^^^^ not found in this scope
45
46error[E0425]: cannot find function `purr` in this scope
47 --> $DIR/issue-2356.rs:73:9
48 |
4973 | purr();
50 | ^^^^ not found in this scope
51
52error[E0425]: cannot find function `purr` in this scope
53 --> $DIR/issue-2356.rs:76:9
54 |
5576 | purr();
56 | ^^^^ not found in this scope
57
58error[E0425]: cannot find function `purr` in this scope
59 --> $DIR/issue-2356.rs:79:9
60 |
6179 | purr();
62 | ^^^^ not found in this scope
63
64error[E0424]: expected value, found module `self`
65 --> $DIR/issue-2356.rs:87:8
66 |
6787 | if self.whiskers > 3 {
68 | ^^^^ `self` value is only available in methods with `self` parameter
69
70error[E0425]: cannot find function `grow_older` in this scope
71 --> $DIR/issue-2356.rs:95:5
72 |
7395 | grow_older();
74 | ^^^^^^^^^^ not found in this scope
75
76error[E0425]: cannot find function `shave` in this scope
77 --> $DIR/issue-2356.rs:98:5
78 |
7998 | shave();
80 | ^^^^^ not found in this scope
81
82error[E0425]: cannot find value `whiskers` in this scope
83 --> $DIR/issue-2356.rs:104:5
84 |
85104 | whiskers = 0;
041b39d2 86 | ^^^^^^^^ help: try: `self.whiskers`
32a655c1
SL
87
88error[E0425]: cannot find value `whiskers` in this scope
89 --> $DIR/issue-2356.rs:110:5
90 |
91110 | whiskers = 4;
92 | ^^^^^^^^
93 | |
041b39d2 94 | help: try: `self.whiskers`
32a655c1
SL
95 | `self` value is only available in methods with `self` parameter
96
97error[E0425]: cannot find function `purr_louder` in this scope
98 --> $DIR/issue-2356.rs:115:5
99 |
100115 | purr_louder();
101 | ^^^^^^^^^^^ not found in this scope
102
103error[E0424]: expected value, found module `self`
104 --> $DIR/issue-2356.rs:122:5
105 |
106122 | self += 1;
107 | ^^^^ `self` value is only available in methods with `self` parameter
108
041b39d2 109error: aborting due to 17 previous errors
32a655c1 110