diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2023-10-18 08:47:17 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2023-10-20 08:46:27 +0000 |
| commit | 4fc503ee372b9a99b8bc0b82f545d58f1729e57f (patch) | |
| tree | 7cf7dad33300b8f961da578ce1c892bf818ce5f0 | |
| parent | 214b4d91bd6163b8f6530d24f839687a291dfa67 (diff) | |
| download | rust-4fc503ee372b9a99b8bc0b82f545d58f1729e57f.tar.gz rust-4fc503ee372b9a99b8bc0b82f545d58f1729e57f.zip | |
Avoid a `track_errors` by bubbling up most errors from `check_well_formed`
| -rw-r--r-- | tests/ui/crashes/ice-6252.stderr | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/tests/ui/crashes/ice-6252.stderr b/tests/ui/crashes/ice-6252.stderr index f929bec9583..30be9dde73c 100644 --- a/tests/ui/crashes/ice-6252.stderr +++ b/tests/ui/crashes/ice-6252.stderr @@ -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> {} | +++++ -error[E0046]: not all trait items implemented, missing: `VAL` - --> $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 +error: aborting due to 2 previous errors -Some errors have detailed explanations: E0046, E0412. -For more information about an error, try `rustc --explain E0046`. +For more information about this error, try `rustc --explain E0412`. |
