rust/tests/ui/parser/issues/issue-102182-impl-trait-recover.rs
2023-01-11 09:32:08 +00:00

4 lines
97 B
Rust

fn foo<T: impl Trait>() {}
//~^ ERROR expected trait bound, found `impl Trait` type
fn main() {}