fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0107]: function takes 2 generic arguments but 1 generic argument was supplied 2 --> $DIR/not-enough-args.rs:4:5 3 | 4LL | f::<[u8]>("a", b"a"); 5 | ^ ---- supplied 1 generic argument 6 | | 7 | expected 2 generic arguments 8 | 9note: function defined here, with 2 generic parameters: `T`, `U` 10 --> $DIR/not-enough-args.rs:1:4 11 | 12LL | fn f<T: ?Sized, U: ?Sized>(_: impl AsRef<T>, _: impl AsRef<U>) {} 13 | ^ - - 14help: add missing generic argument 15 | 16LL | f::<[u8], U>("a", b"a"); 17 | +++ 18 19error: aborting due to previous error 20 21For more information about this error, try `rustc --explain E0107`.