rust/src/test/ui/resolve/issue-2356.stderr

113 lines
3.1 KiB
Plaintext
Raw Normal View History

error[E0425]: cannot find function `shave` in this scope
2018-12-25 09:56:47 -06:00
--> $DIR/issue-2356.rs:17:5
|
2018-02-22 18:42:32 -06:00
LL | shave();
| ^^^^^ not found in this scope
error[E0425]: cannot find function `clone` in this scope
2018-12-25 09:56:47 -06:00
--> $DIR/issue-2356.rs:24:5
|
2018-02-22 18:42:32 -06:00
LL | clone();
2017-05-16 08:12:24 -05:00
| ^^^^^ help: try: `self.clone`
error[E0425]: cannot find function `default` in this scope
2018-12-25 09:56:47 -06:00
--> $DIR/issue-2356.rs:31:5
|
2018-02-22 18:42:32 -06:00
LL | default();
2017-05-16 08:12:24 -05:00
| ^^^^^^^ help: try: `Self::default`
error[E0425]: cannot find value `whiskers` in this scope
2018-12-25 09:56:47 -06:00
--> $DIR/issue-2356.rs:39:5
|
2018-02-22 18:42:32 -06:00
LL | whiskers -= other;
| ^^^^^^^^
| |
2018-09-22 21:35:42 -05:00
| `self` value is a keyword only available in methods with `self` parameter
2017-07-05 11:58:22 -05:00
| help: try: `self.whiskers`
error[E0425]: cannot find function `shave` in this scope
2018-12-25 09:56:47 -06:00
--> $DIR/issue-2356.rs:41:5
|
2018-02-22 18:42:32 -06:00
LL | shave(4);
2017-05-16 08:12:24 -05:00
| ^^^^^ help: try: `Self::shave`
error[E0425]: cannot find function `purr` in this scope
2018-12-25 09:56:47 -06:00
--> $DIR/issue-2356.rs:43:5
|
2018-02-22 18:42:32 -06:00
LL | purr();
| ^^^^ not found in this scope
error[E0425]: cannot find function `static_method` in this scope
2018-12-25 09:56:47 -06:00
--> $DIR/issue-2356.rs:52:9
|
2018-02-22 18:42:32 -06:00
LL | static_method();
| ^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `purr` in this scope
2018-12-25 09:56:47 -06:00
--> $DIR/issue-2356.rs:54:9
|
2018-02-22 18:42:32 -06:00
LL | purr();
| ^^^^ not found in this scope
error[E0425]: cannot find function `purr` in this scope
2018-12-25 09:56:47 -06:00
--> $DIR/issue-2356.rs:56:9
|
2018-02-22 18:42:32 -06:00
LL | purr();
| ^^^^ not found in this scope
error[E0425]: cannot find function `purr` in this scope
2018-12-25 09:56:47 -06:00
--> $DIR/issue-2356.rs:58:9
|
2018-02-22 18:42:32 -06:00
LL | purr();
| ^^^^ not found in this scope
error[E0424]: expected value, found module `self`
2018-12-25 09:56:47 -06:00
--> $DIR/issue-2356.rs:65:8
|
2018-02-22 18:42:32 -06:00
LL | if self.whiskers > 3 {
2018-09-22 21:35:42 -05:00
| ^^^^ `self` value is a keyword only available in methods with `self` parameter
error[E0425]: cannot find function `grow_older` in this scope
2018-12-25 09:56:47 -06:00
--> $DIR/issue-2356.rs:72:5
|
2018-02-22 18:42:32 -06:00
LL | grow_older();
| ^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `shave` in this scope
2018-12-25 09:56:47 -06:00
--> $DIR/issue-2356.rs:74:5
|
2018-02-22 18:42:32 -06:00
LL | shave();
| ^^^^^ not found in this scope
error[E0425]: cannot find value `whiskers` in this scope
2018-12-25 09:56:47 -06:00
--> $DIR/issue-2356.rs:79:5
2017-11-20 06:13:27 -06:00
|
2018-02-22 18:42:32 -06:00
LL | whiskers = 0;
2017-11-20 06:13:27 -06:00
| ^^^^^^^^ help: try: `self.whiskers`
error[E0425]: cannot find value `whiskers` in this scope
2018-12-25 09:56:47 -06:00
--> $DIR/issue-2356.rs:84:5
|
2018-02-22 18:42:32 -06:00
LL | whiskers = 4;
| ^^^^^^^^
| |
2018-09-22 21:35:42 -05:00
| `self` value is a keyword only available in methods with `self` parameter
| help: try: `self.whiskers`
error[E0425]: cannot find function `purr_louder` in this scope
2018-12-25 09:56:47 -06:00
--> $DIR/issue-2356.rs:86:5
|
2018-02-22 18:42:32 -06:00
LL | purr_louder();
| ^^^^^^^^^^^ not found in this scope
error[E0424]: expected value, found module `self`
2018-12-25 09:56:47 -06:00
--> $DIR/issue-2356.rs:92:5
2018-02-22 18:42:32 -06:00
|
LL | self += 1;
2018-09-22 21:35:42 -05:00
| ^^^^ `self` value is a keyword only available in methods with `self` parameter
error: aborting due to 17 previous errors
2018-03-03 08:59:40 -06:00
Some errors occurred: E0424, E0425.
For more information about an error, try `rustc --explain E0424`.