mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
13 lines
198 B
Rust
13 lines
198 B
Rust
fn main() {
|
|
let e: i32;
|
|
match e {
|
|
//~^ ERROR E0381
|
|
ref u if true => {}
|
|
ref v if true => {
|
|
let tx = 0;
|
|
&tx;
|
|
}
|
|
_ => (),
|
|
}
|
|
}
|