fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
598 B19 linesraw
1error[E0425]: cannot find value `meows` in this scope
2  --> $DIR/class-missing-self.rs:9:7
3   |
4LL |       meows += 1;
5   |       ^^^^^ help: you might have meant to use the available field: `self.meows`
6
7error[E0425]: cannot find function `sleep` in this scope
8  --> $DIR/class-missing-self.rs:10:7
9   |
10LL |       sleep();
11   |       ^^^^^ not found in this scope
12help: possible candidate is found in another module, you can import it into scope
13   |
14LL | use std::thread::sleep;
15   |
16
17error: aborting due to 2 previous errors
18
19For more information about this error, try `rustc --explain E0425`.