rust/tests/ui/error-codes/E0434.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
98 B
Rust
Raw Normal View History

2016-08-17 21:45:10 +00:00
fn foo() {
let y = 5;
fn bar() -> u32 {
y //~ ERROR E0434
}
}
fn main () {
}