2017-01-11 16:18:08 -06:00
|
|
|
error[E0425]: cannot find function `shave` in this scope
|
2016-11-30 16:35:25 -06:00
|
|
|
--> $DIR/issue-2356.rs:27:5
|
|
|
|
|
|
|
|
|
27 | shave();
|
2017-01-11 16:18:08 -06:00
|
|
|
| ^^^^^ not found in this scope
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2017-01-11 16:18:08 -06:00
|
|
|
error[E0425]: cannot find function `clone` in this scope
|
2017-12-10 14:29:24 -06:00
|
|
|
--> $DIR/issue-2356.rs:34:5
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
2017-12-10 14:29:24 -06:00
|
|
|
34 | clone();
|
2017-05-16 08:12:24 -05:00
|
|
|
| ^^^^^ help: try: `self.clone`
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2017-01-11 16:18:08 -06:00
|
|
|
error[E0425]: cannot find function `default` in this scope
|
2017-12-10 14:29:24 -06:00
|
|
|
--> $DIR/issue-2356.rs:41:5
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
2017-12-10 14:29:24 -06:00
|
|
|
41 | default();
|
2017-05-16 08:12:24 -05:00
|
|
|
| ^^^^^^^ help: try: `Self::default`
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2017-01-11 16:18:08 -06:00
|
|
|
error[E0425]: cannot find value `whiskers` in this scope
|
2017-12-10 14:29:24 -06:00
|
|
|
--> $DIR/issue-2356.rs:49:5
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
2017-12-10 14:29:24 -06:00
|
|
|
49 | whiskers -= other;
|
2016-11-30 16:35:25 -06:00
|
|
|
| ^^^^^^^^
|
|
|
|
| |
|
|
|
|
| `self` value is only available in methods with `self` parameter
|
2017-07-05 11:58:22 -05:00
|
|
|
| help: try: `self.whiskers`
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2017-01-11 16:18:08 -06:00
|
|
|
error[E0425]: cannot find function `shave` in this scope
|
2017-12-10 14:29:24 -06:00
|
|
|
--> $DIR/issue-2356.rs:51:5
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
2017-12-10 14:29:24 -06:00
|
|
|
51 | shave(4);
|
2017-05-16 08:12:24 -05:00
|
|
|
| ^^^^^ help: try: `Self::shave`
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2017-01-11 16:18:08 -06:00
|
|
|
error[E0425]: cannot find function `purr` in this scope
|
2017-12-10 14:29:24 -06:00
|
|
|
--> $DIR/issue-2356.rs:53:5
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
2017-12-10 14:29:24 -06:00
|
|
|
53 | purr();
|
2017-01-11 16:18:08 -06:00
|
|
|
| ^^^^ not found in this scope
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2017-01-11 16:18:08 -06:00
|
|
|
error[E0425]: cannot find function `static_method` in this scope
|
2017-12-10 14:29:24 -06:00
|
|
|
--> $DIR/issue-2356.rs:62:9
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
2017-12-10 14:29:24 -06:00
|
|
|
62 | static_method();
|
2017-01-11 16:18:08 -06:00
|
|
|
| ^^^^^^^^^^^^^ not found in this scope
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2017-01-11 16:18:08 -06:00
|
|
|
error[E0425]: cannot find function `purr` in this scope
|
2017-12-10 14:29:24 -06:00
|
|
|
--> $DIR/issue-2356.rs:64:9
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
2017-12-10 14:29:24 -06:00
|
|
|
64 | purr();
|
2017-01-11 16:18:08 -06:00
|
|
|
| ^^^^ not found in this scope
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2017-01-11 16:18:08 -06:00
|
|
|
error[E0425]: cannot find function `purr` in this scope
|
2017-12-10 14:29:24 -06:00
|
|
|
--> $DIR/issue-2356.rs:66:9
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
2017-12-10 14:29:24 -06:00
|
|
|
66 | purr();
|
2017-01-11 16:18:08 -06:00
|
|
|
| ^^^^ not found in this scope
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2017-01-11 16:18:08 -06:00
|
|
|
error[E0425]: cannot find function `purr` in this scope
|
2017-12-10 14:29:24 -06:00
|
|
|
--> $DIR/issue-2356.rs:68:9
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
2017-12-10 14:29:24 -06:00
|
|
|
68 | purr();
|
2017-01-11 16:18:08 -06:00
|
|
|
| ^^^^ not found in this scope
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2016-11-30 16:35:25 -06:00
|
|
|
error[E0424]: expected value, found module `self`
|
2017-12-10 14:29:24 -06:00
|
|
|
--> $DIR/issue-2356.rs:75:8
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
2017-12-10 14:29:24 -06:00
|
|
|
75 | if self.whiskers > 3 {
|
2016-11-30 16:35:25 -06:00
|
|
|
| ^^^^ `self` value is only available in methods with `self` parameter
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2017-01-11 16:18:08 -06:00
|
|
|
error[E0425]: cannot find function `grow_older` in this scope
|
2017-12-10 14:29:24 -06:00
|
|
|
--> $DIR/issue-2356.rs:82:5
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
2017-12-10 14:29:24 -06:00
|
|
|
82 | grow_older();
|
2017-01-11 16:18:08 -06:00
|
|
|
| ^^^^^^^^^^ not found in this scope
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2017-01-11 16:18:08 -06:00
|
|
|
error[E0425]: cannot find function `shave` in this scope
|
2017-12-10 14:29:24 -06:00
|
|
|
--> $DIR/issue-2356.rs:84:5
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
2017-12-10 14:29:24 -06:00
|
|
|
84 | shave();
|
2017-01-11 16:18:08 -06:00
|
|
|
| ^^^^^ not found in this scope
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2017-01-11 16:18:08 -06:00
|
|
|
error[E0425]: cannot find value `whiskers` in this scope
|
2017-12-10 14:29:24 -06:00
|
|
|
--> $DIR/issue-2356.rs:89:5
|
2017-11-20 06:13:27 -06:00
|
|
|
|
|
2017-12-10 14:29:24 -06:00
|
|
|
89 | whiskers = 0;
|
2017-11-20 06:13:27 -06:00
|
|
|
| ^^^^^^^^ help: try: `self.whiskers`
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2017-01-11 16:18:08 -06:00
|
|
|
error[E0425]: cannot find value `whiskers` in this scope
|
2017-12-10 14:29:24 -06:00
|
|
|
--> $DIR/issue-2356.rs:94:5
|
|
|
|
|
|
|
|
|
94 | whiskers = 4;
|
|
|
|
| ^^^^^^^^
|
|
|
|
| |
|
|
|
|
| `self` value is only available in methods with `self` parameter
|
|
|
|
| help: try: `self.whiskers`
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2017-01-11 16:18:08 -06:00
|
|
|
error[E0425]: cannot find function `purr_louder` in this scope
|
2017-12-10 14:29:24 -06:00
|
|
|
--> $DIR/issue-2356.rs:96:5
|
|
|
|
|
|
|
|
|
96 | purr_louder();
|
|
|
|
| ^^^^^^^^^^^ not found in this scope
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2016-11-30 16:35:25 -06:00
|
|
|
error[E0424]: expected value, found module `self`
|
2017-12-10 14:29:24 -06:00
|
|
|
--> $DIR/issue-2356.rs:102:5
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
2017-12-10 14:29:24 -06:00
|
|
|
102 | self += 1;
|
2016-11-30 16:35:25 -06:00
|
|
|
| ^^^^ `self` value is only available in methods with `self` parameter
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2017-07-02 05:49:30 -05:00
|
|
|
error: aborting due to 17 previous errors
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2018-02-19 14:40:25 -06:00
|
|
|
You've got a few errors: E0424, E0425
|
|
|
|
If you want more information on an error, try using "rustc --explain E0424"
|