]> git.lizzy.rs Git - rust.git/blob - src/test/ui/class-missing-self.stderr
Auto merge of #86155 - alexcrichton:abort-on-unwind, r=nikomatsakis
[rust.git] / src / test / ui / class-missing-self.stderr
1 error[E0425]: cannot find value `meows` in this scope
2   --> $DIR/class-missing-self.rs:9:7
3    |
4 LL |       meows += 1;
5    |       ^^^^^ help: you might have meant to use the available field: `self.meows`
6
7 error[E0425]: cannot find function `sleep` in this scope
8   --> $DIR/class-missing-self.rs:10:7
9    |
10 LL |       sleep();
11    |       ^^^^^ not found in this scope
12    |
13 help: consider importing this function
14    |
15 LL | use std::thread::sleep;
16    |
17
18 error: aborting due to 2 previous errors
19
20 For more information about this error, try `rustc --explain E0425`.