rust/compiler/rustc_trait_selection/src
Matthias Krüger ae01430078
Rollup merge of #108295 - compiler-errors:wtf-is-this, r=cjgillot
Use DefKind to give more item kind information during BindingObligation note

The current label says "required by a bound in this". When I see that label, my immediate impression is "this... **what**?". It feels like it was cut short.

Alternative to this would be saying "in this item", but adding the item kind is strictly more informational and adds very little overhead to the existing error presentation.
2023-02-21 23:02:00 +01:00
..
solve Make hidden type registration opt-in, so that each site can be reviewed on its own and we have the right defaults for trait solvers 2023-02-21 14:50:51 +00:00
traits Rollup merge of #108295 - compiler-errors:wtf-is-this, r=cjgillot 2023-02-21 23:02:00 +01:00
errors.rs Move autoderef to rustc_hir_analysis 2023-01-11 20:12:57 +00:00
infer.rs Alias folding/visiting traits instead of re-export 2023-02-13 10:24:46 +00:00
lib.rs update cache 2023-01-18 08:09:01 +01:00