]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/issue-54966.rs
Merge commit '266e96785ab71834b917bf474f130a6d8fdecd4b' into sync_cg_clif-2022-10-23
[rust.git] / src / test / 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() {}