mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-16 14:40:37 +00:00
10 lines
224 B
Rust
10 lines
224 B
Rust
#![feature(unboxed_closures)]
|
|
|
|
trait Trait {}
|
|
|
|
fn f<F:Trait(isize) -> isize>(x: F) {}
|
|
//~^ ERROR trait takes 0 generic arguments but 1 generic argument
|
|
//~| ERROR associated type `Output` not found for `Trait`
|
|
|
|
fn main() {}
|