rust/tests/ui/issues/issue-5239-1.rs

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

7 lines
111 B
Rust
Raw Normal View History

// Regression test for issue #5239
fn main() {
let x = |ref x: isize| { x += 1; };
//~^ ERROR E0368
}