rust/compiler/rustc_trait_selection/src
bors b4acbe4233 Auto merge of #123240 - compiler-errors:assert-args-compat, r=fmease
Assert that args are actually compatible with their generics, rather than just their count

Right now we just check that the number of args is right, rather than actually checking the kinds. Uplift a helper fn that I wrote from trait selection to do just that. Found a couple bugs along the way.

r? `@lcnr` or `@fmease` (or anyone really lol)
2024-04-04 00:09:02 +00:00
..
solve Uplift and start using check_args_compatible more liberally 2024-04-03 11:18:55 -04:00
traits Auto merge of #123240 - compiler-errors:assert-args-compat, r=fmease 2024-04-04 00:09:02 +00:00
errors.rs Rename AddToDiagnostic as Subdiagnostic. 2024-03-11 10:04:49 +11:00
infer.rs Remove EvaluatedToErrStackDependent 2024-03-31 20:44:30 -04:00
lib.rs step cfgs 2024-03-20 08:49:13 -04:00
regions.rs Move trait into attr so it's greppable 2024-02-16 15:07:37 +00:00