summaryrefslogtreecommitdiffstats
path: root/tests/ui/impl-trait/issue-54966.rs
blob: 0ed3c4b3ca9453cb1e40d37c76a0b96682dcc5b1 (plain)
1
2
3
4
5
6
// issue-54966: ICE returning an unknown type with impl FnMut

fn generate_duration() -> Oper<impl FnMut()> {}
//~^ ERROR cannot find type `Oper` in this scope

fn main() {}