fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
603 B20 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
12   |
13help: possible candidate is found in another module, you can import it into scope
14   |
15LL | use std::thread::sleep;
16   |
17
18error: aborting due to 2 previous errors
19
20For more information about this error, try `rustc --explain E0425`.