mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
Avoid a track_errors
by bubbling up most errors from check_well_formed
This commit is contained in:
parent
214b4d91bd
commit
4fc503ee37
1 changed files with 2 additions and 12 deletions
|
@ -24,16 +24,6 @@ help: you might be missing a type parameter
|
||||||
LL | impl<N, M, VAL> TypeVal<usize> for Multiply<N, M> where N: TypeVal<VAL> {}
|
LL | impl<N, M, VAL> TypeVal<usize> for Multiply<N, M> where N: TypeVal<VAL> {}
|
||||||
| +++++
|
| +++++
|
||||||
|
|
||||||
error[E0046]: not all trait items implemented, missing: `VAL`
|
error: aborting due to 2 previous errors
|
||||||
--> $DIR/ice-6252.rs:11:1
|
|
||||||
|
|
|
||||||
LL | const VAL: T;
|
|
||||||
| ------------ `VAL` from trait
|
|
||||||
...
|
|
||||||
LL | impl<N, M> TypeVal<usize> for Multiply<N, M> where N: TypeVal<VAL> {}
|
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `VAL` in implementation
|
|
||||||
|
|
||||||
error: aborting due to 3 previous errors
|
For more information about this error, try `rustc --explain E0412`.
|
||||||
|
|
||||||
Some errors have detailed explanations: E0046, E0412.
|
|
||||||
For more information about an error, try `rustc --explain E0046`.
|
|
||||||
|
|
Loading…
Reference in a new issue