Skip to content

Error just after installation. #183

@phozzy

Description

@phozzy

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions