初級 › E0425: cannot find value in this scope の原因と直し方 › パターン5
E0425: cannot find value in this scope の原因と直し方
宣言していない変数名を参照すると、コンパイル時にE0425エラーになります。
1 fn main() { 2 let temperature = 25; 3 println!("{}", ___________); ^ 4 }
error[E0425]: cannot find value `temprature` in this scope
空欄を埋めて実行を通す
長い変数名ほどタイプミスに気づきにくくなります。宣言した名前と完全に一致しているか確認してください。
次の問題