]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-26641.rs
Rollup merge of #80327 - PankajChaudhary5:PankajChaudhary, r=GuillaumeGomez
[rust.git] / src / test / ui / issues / issue-26641.rs
1 // run-pass
2 struct Parser<'a>(Box<dyn FnMut(Parser) + 'a>);
3
4 fn main() {
5     let _x = Parser(Box::new(|_|{}));
6 }