rust/tests/ui/error-codes/E0094.stderr

10 lines
304 B
Plaintext

error[E0094]: intrinsic has wrong number of type parameters: found 2, expected 1
--> $DIR/E0094.rs:5:11
|
LL | fn size_of<T, U>() -> usize {
| ^^^^^^ expected 1 type parameter
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0094`.