rust/compiler/rustc_hir_analysis/src
Guillaume Gomez 4ce2db5b31
Rollup merge of #142043 - estebank:const-suggestion, r=wesleywiser
Verbose suggestion to make param `const`

```
error[E0747]: type provided when a constant was expected
  --> $DIR/invalid-const-arguments.rs:10:19
   |
LL | impl<N> Foo for B<N> {}
   |                   ^
   |
help: consider changing this type parameter to a const parameter
   |
LL - impl<N> Foo for B<N> {}
LL + impl<const N: u8> Foo for B<N> {}
   |
```

Part of rust-lang/rust#141973.
2025-06-06 23:53:17 +02:00
..
check Replace some Option<Span> with Span and use DUMMY_SP instead of None 2025-06-05 14:14:59 +00:00
coherence Replace some Option<Span> with Span and use DUMMY_SP instead of None 2025-06-05 14:14:59 +00:00
collect Reorder fields in hir::ItemKind variants. 2025-05-30 02:23:20 +10:00
errors Don't compute name of associated item if it's an RPITIT 2025-04-20 16:08:39 +00:00
hir_ty_lowering Rollup merge of #142043 - estebank:const-suggestion, r=wesleywiser 2025-06-06 23:53:17 +02:00
impl_wf_check convert some GenericArg to Term 2025-04-26 02:05:31 +00:00
outlives Fix some var names 2025-05-27 11:14:47 +00:00
variance Fix some var names 2025-05-27 11:14:47 +00:00
autoderef.rs respect the tcx's recursion limit when peeling 2025-04-16 15:42:12 -07:00
check_unused.rs Move methods from Map to TyCtxt, part 4. 2025-03-12 08:55:37 +11:00
collect.rs Reorder fields in hir::ItemKind variants. 2025-05-30 02:23:20 +10:00
constrained_generic_params.rs Remove weak alias terminology 2025-04-24 11:59:20 +01:00
delegation.rs Stop relying on rustc_type_ir in non-type-system crates 2025-03-15 06:42:48 +00:00
errors.rs Fix typos 2025-05-12 17:20:49 +00:00
hir_wf_check.rs Reorder fields in hir::ItemKind variants. 2025-05-30 02:23:20 +10:00
impl_wf_check.rs Move name field from AssocItem to AssocKind variants. 2025-04-15 08:07:15 +10:00
lib.rs Run wfcheck in one big loop instead of per module 2025-06-03 15:16:51 +00:00