rust/compiler/rustc_middle/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
..
dep_graph Reduce exposure of things. 2023-11-16 16:49:22 +11:00
hir Auto merge of #123429 - matthiaskrgr:rollup-4emw4e9, r=matthiaskrgr 2024-04-03 20:19:51 +00:00
hooks Rename mir_const query to mir_built 2024-03-20 09:05:22 +00:00
infer rustc_index: Add a ZERO constant to index types 2024-04-03 19:06:22 +03:00
middle Auto merge of #122972 - beetrees:use-align-type, r=fee1-dead 2024-04-01 03:16:45 +00:00
mir Rollup merge of #123419 - petrochenkov:zeroindex, r=compiler-errors 2024-04-03 22:11:02 +02:00
query Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
thir Implement mut ref/mut ref mut 2024-03-27 09:53:23 -04:00
traits Remove EvaluatedToErrStackDependent 2024-03-31 20:44:30 -04:00
ty Auto merge of #123240 - compiler-errors:assert-args-compat, r=fmease 2024-04-04 00:09:02 +00:00
util Make span_bug panic site useful again 2024-03-19 09:19:12 +00:00
arena.rs Remove MIR unsafe check 2024-04-03 08:50:12 +00:00
error.rs Rename DiagnosticMessage as DiagMessage. 2024-03-05 12:14:49 +11:00
lib.rs step cfgs 2024-03-20 08:49:13 -04:00
lint.rs Guard decorate on when not to skip instead 2024-03-17 15:07:22 +00:00
macros.rs Remove unnecessary braces from span_bug 2024-03-21 11:24:24 -04:00
metadata.rs rustc_metadata: Remove Span from ModChild 2023-04-18 17:25:04 +03:00
tests.rs Remove outdated references to librustc_middle. 2024-01-05 16:34:52 +00:00
thir.rs Rollup merge of #123301 - Nadrieril:unions, r=compiler-errors 2024-04-03 22:11:01 +02:00
values.rs make Representability::Infinite carry ErrorGuaranteed 2024-03-14 20:52:13 +01:00