Files
rust/tests/ui/move-expr/parse-ambiguity.rs
T
2026-05-07 22:23:38 +09:00

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;
}