初級 › E0425: cannot find value in this scope の原因と直し方 › パターン2
E0425: cannot find value in this scope の原因と直し方
宣言していない変数名を参照すると、コンパイル時にE0425エラーになります。
1 fn main() { 2 let score = 88; 3 println!("{}", _____); ^ 4 }
error[E0425]: cannot find value `scroe` in this scope
空欄を埋めて実行を通す
文字の順番が入れ替わったタイプミスも、Rustコンパイラには全く別の名前に見えます。
次の問題