rust/compiler/rustc_hir_analysis/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
..
check Rollup merge of #123419 - petrochenkov:zeroindex, r=compiler-errors 2024-04-03 22:11:02 +02:00
coherence Stop doing so much to handle subdiagnostics 2024-03-29 22:23:10 -04:00
collect Don't create an FnDef of a DefKind::Variant, use the ctor def id 2024-04-02 14:13:25 -04:00
hir_ty_lowering Auto merge of #123240 - compiler-errors:assert-args-compat, r=fmease 2024-04-04 00:09:02 +00:00
impl_wf_check Use expand_weak_alias_tys when collecting constrained generics params in impls 2024-02-20 17:31:59 +01:00
outlives Use FxIndexMap instead of BTreeMap to avoid sorting DefIds 2024-03-27 14:02:15 +00:00
structured_errors Suggest _ for missing generic arguments in turbofish 2024-03-17 17:34:17 +00:00
variance Make RawPtr take Ty and Mutbl separately 2024-03-22 11:13:29 -04:00
autoderef.rs fix ICE for deref coercions with type errors 2024-02-12 14:37:35 +01:00
bounds.rs Make sure to insert Sized bound first into clauses list 2024-04-01 21:41:45 -04:00
check_unused.rs Rename TyCtxt::struct_span_lint_hir as TyCtxt::node_span_lint. 2024-01-23 08:09:01 +11:00
collect.rs Arrange methods on HirTyLowerer more logically 2024-03-22 06:32:51 +01:00
constrained_generic_params.rs Convert TypeVisitor and DefIdVisitor to use VisitorResult 2024-03-05 13:28:15 -05:00
errors.rs Stop doing so much to handle subdiagnostics 2024-03-29 22:23:10 -04:00
hir_wf_check.rs Auto merge of #122869 - matthiaskrgr:rollup-0navj4l, r=matthiaskrgr 2024-03-22 12:29:42 +00:00
impl_wf_check.rs Merge check_mod_impl_wf and check_mod_type_wf 2024-03-07 06:27:09 +00:00
lib.rs Auto merge of #121387 - oli-obk:eager_const_failures_regression, r=lcnr 2024-03-26 10:52:11 +00:00
structured_errors.rs Rename StructuredDiagnostic as StructuredDiag. 2024-03-05 12:15:12 +11:00