Rust concepts

Rust · Scope

Rust Scope puzzles

3 Rust puzzles on scope. Read the snippet, guess the output, then reveal the answer and why Rust behaves that way.