mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-10 12:49:18 +00:00
error[E0425]: cannot find value x in this scope --> exercises/variables/variables1.rs:12:5
This commit is contained in:
parent
dba759e1c6
commit
dbafa8ee7e
@ -9,6 +9,7 @@
|
||||
// I AM NOT DONE
|
||||
|
||||
fn main() {
|
||||
let x; // This variable lacked here.
|
||||
x = 5;
|
||||
println!("x has the value {}", x);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user