mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-08 18:31:35 +00:00
10 lines
150 B
Rust
10 lines
150 B
Rust
//! Sanity check for no capture closures
|
|
|
|
//@ run-pass
|
|
|
|
pub fn main() {
|
|
let _x: Box<_> = Box::new(1);
|
|
let lam_move = || {};
|
|
lam_move();
|
|
}
|