mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-27 02:53:43 +00:00
18 lines
533 B
Plaintext
18 lines
533 B
Plaintext
error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied
|
|
--> $DIR/dont-consider-unconstrained-rpitits.rs:9:6
|
|
|
|
|
LL | impl Foo<u8> for () {
|
|
| ^^^---- help: remove the unnecessary generics
|
|
| |
|
|
| expected 0 generic arguments
|
|
|
|
|
note: trait defined here, with 0 generic parameters
|
|
--> $DIR/dont-consider-unconstrained-rpitits.rs:5:7
|
|
|
|
|
LL | trait Foo {
|
|
| ^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0107`.
|