rust/tests/ui/issues/issue-26641.rs
2023-01-11 09:32:08 +00:00

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(|_|{}));
}