Open Nathan-Fenner opened 1 month ago
Playground link
pub fn main() { let x = 5; println!(x + 7); }
(note, this syntax is incorrect - it should be println!("{}", x+7);)
println!("{}", x+7);
However, the error message is highly misleading:
Failed to build rune sources (see diagnostics for details) error: No local variable `x` ┌─ entry:3:11 │ 3 │ println!(x + 7); │ ^ No local variable `x`
Playground link
(note, this syntax is incorrect - it should be
println!("{}", x+7);
)However, the error message is highly misleading: