]> git.lizzy.rs Git - rust.git/blob - tests/ui/impl-trait/issue-54966.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / ui / impl-trait / issue-54966.rs
1 // issue-54966: ICE returning an unknown type with impl FnMut
2
3 fn generate_duration() -> Oper<impl FnMut()> {}
4 //~^ ERROR cannot find type `Oper` in this scope
5
6 fn main() {}