mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 05:57:03 +03:00
14 lines
244 B
Rust
14 lines
244 B
Rust
//@ check-pass
|
|
#![allow(incomplete_features)]
|
|
#![feature(move_expr)]
|
|
|
|
fn main() {
|
|
let x: bool = true;
|
|
let y: bool = true;
|
|
let _ = || move(x) || y;
|
|
|
|
let x: bool = true;
|
|
let y: bool = true;
|
|
let _ = move || move(x) || y;
|
|
}
|