]> git.lizzy.rs Git - rust.git/blob - src/test/ui/class-missing-self.stderr
Auto merge of #60072 - RalfJung:linked-list, r=shepmaster
[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 help: possible candidate is found in another module, you can import it into scope
13    |
14 LL | use std::thread::sleep;
15    |
16
17 error: aborting due to 2 previous errors
18
19 For more information about this error, try `rustc --explain E0425`.