]> git.proxmox.com Git - rustc.git/blame - src/test/ui/self/class-missing-self.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / self / class-missing-self.stderr
CommitLineData
b7449926 1error[E0425]: cannot find value `meows` in this scope
0731742a 2 --> $DIR/class-missing-self.rs:9:7
b7449926 3 |
532ac7d7 4LL | meows += 1;
48663c56 5 | ^^^^^ help: you might have meant to use the available field: `self.meows`
b7449926
XL
6
7error[E0425]: cannot find function `sleep` in this scope
0731742a 8 --> $DIR/class-missing-self.rs:10:7
b7449926 9 |
532ac7d7 10LL | sleep();
b7449926 11 | ^^^^^ not found in this scope
e74abb32 12 |
487cf647
FG
13help: consider using the associated function
14 |
15LL | self.sleep();
16 | +++++
f9f354fc 17help: consider importing this function
b7449926
XL
18 |
19LL | use std::thread::sleep;
20 |
21
22error: aborting due to 2 previous errors
23
24For more information about this error, try `rustc --explain E0425`.