]> git.lizzy.rs Git - rust.git/blob - tests/ui/impl-trait/issue-54966.rs
Rollup merge of #106799 - scottmcm:remove-unused-generics, r=cuviper
[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() {}