error[E0425]: cannot find value x in this scope --> exercises/variables/variables1.rs:12:5

This commit is contained in:
chicagoist 2021-11-13 09:59:06 +00:00
parent dba759e1c6
commit dbafa8ee7e

View File

@ -9,6 +9,7 @@
// I AM NOT DONE
fn main() {
let x; // This variable lacked here.
x = 5;
println!("x has the value {}", x);
}