rust/tests/ui/trait-bounds/maybe-bound-generics-deny.rs

5 lines
121 B
Rust
Raw Normal View History

fn uwu<T: ?Sized<i32>>() {}
//~^ ERROR trait takes 0 generic arguments but 1 generic argument was supplied
fn main() {}