-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Closed
Description
Hello!
I've an error just after installation of rust language and rustling. I used this https://rustup.rs/ to install rust, and following commands to install rustling:
cd ~
curl -L https://git.io/rustlings | bash
cd rustlings
after I run rustlings verify I got this error:
$ rustlings verify
⚠️ Compilation of exercises/variables/variables1.rs failed! Compiler error message:
error[E0425]: cannot find value `x` in this scope
--> exercises/variables/variables1.rs:5:5
|
5 | x = 5;
| ^ not found in this scope
error[E0425]: cannot find value `x` in this scope
--> exercises/variables/variables1.rs:6:36
|
6 | println!("x has the value {}", x);
| ^ not found in this scope
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0425`.
```
Am I doing something wrong?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels