You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The listing defines variables like sixtyfivethousand_533, but references non existent variables sixty5_533 and so on.
$ rustc -O ch5-bit-patterns.rs
error[E0425]: cannot find value `sixty5_533`in this scope
--> main.rs:11:28
|
11 | println!("{}, {}, {}", sixty5_533, sixty5_534, sixty5_535);| ^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `sixty5_534`in this scope
--> main.rs:11:40
|
11 | println!("{}, {}, {}", sixty5_533, sixty5_534, sixty5_535);| ^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `sixty5_535`in this scope
--> main.rs:11:52
|
11 | println!("{}, {}, {}", sixty5_533, sixty5_534, sixty5_535);| ^^^^^^^^^^ not found in this scope
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0425`.
The text was updated successfully, but these errors were encountered:
PS: Note that the code printed in the book (at least in the PDF version from November 2022) is also wrong, so appears the code got partially changed to make it more readable, and never tested again. cc @timClicks
The listing defines variables like
sixtyfivethousand_533
, but references non existent variablessixty5_533
and so on.The text was updated successfully, but these errors were encountered: