mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 03:03:40 +00:00
7 lines
150 B
Rust
7 lines
150 B
Rust
// run-pass
|
|
struct Parser<'a>(#[allow(unused_tuple_struct_fields)] Box<dyn FnMut(Parser) + 'a>);
|
|
|
|
fn main() {
|
|
let _x = Parser(Box::new(|_|{}));
|
|
}
|