rust/compiler/rustc_hir_analysis/src/check
Matthias Krüger 980248605a
Rollup merge of #122158 - estebank:feature-sugg, r=WaffleLapkin
Provide structured suggestion for `#![feature(foo)]`

```
error: `S2<'_>` is forbidden as the type of a const generic parameter
  --> $DIR/lifetime-in-const-param.rs:5:23
   |
LL | struct S<'a, const N: S2>(&'a ());
   |                       ^^
   |
   = note: the only supported types are integers, `bool` and `char`
help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types
   |
LL + #![feature(adt_const_params)]
   |
```

Fix #55941.
2024-03-18 22:24:38 +01:00
..
compare_impl_item Rollup merge of #121720 - tmandry:split-refining, r=compiler-errors 2024-03-16 23:28:47 +01:00
check.rs Delay a bug for stranded opaques 2024-03-13 13:44:00 -04:00
compare_impl_item.rs Rollup merge of #122172 - compiler-errors:rpitit-collect-ice, r=fmease 2024-03-08 21:02:03 +01:00
dropck.rs Convert bugs back to delayed_bugs. 2024-02-21 10:35:54 +11:00
entry.rs hir: Remove opt_local_def_id_to_hir_id and opt_hir_node_by_def_id 2024-03-14 22:34:24 +03:00
errs.rs Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
intrinsic.rs remove retag_box_to_raw, it is no longer needed 2024-03-18 10:32:25 +01:00
intrinsicck.rs Add asm label support to AST and HIR 2024-02-24 18:49:39 +00:00
mod.rs Provide structured suggestion for #![feature(foo)] 2024-03-18 16:08:58 +00:00
region.rs Rename hir::StmtKind::Local into hir::StmtKind::Let 2024-03-14 12:42:04 +01:00
wfcheck.rs Provide structured suggestion for #![feature(foo)] 2024-03-18 16:08:58 +00:00