error[E0425]: cannot find value `result` in this scope --> prog.rs:9:26 | 9 | println!("Result: {}", result); // Error: result is out of scope here. Try to remove this line | ^^^^^^ not found in this scope error: aborting due to previous error For more information about this error, try `rustc --explain E0425`.