rust/tests/ui/error-codes/E0434.rs
2023-01-11 09:32:08 +00:00

10 lines
98 B
Rust

fn foo() {
let y = 5;
fn bar() -> u32 {
y //~ ERROR E0434
}
}
fn main () {
}