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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
121 B
Rust
Raw Permalink Normal View History

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