]> git.lizzy.rs Git - rust.git/blob - tests/ui/impl-trait/issue-54966.rs
Rollup merge of #106661 - mjguzik:linux_statx, r=Mark-Simulacrum
[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() {}