diff options
| author | Trevor Gross <t.gross35@gmail.com> | 2025-06-20 02:50:40 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-20 02:50:40 -0400 |
| commit | dd41c06e27df4f1e80f236d4c4bd47606773468d (patch) | |
| tree | 730ea605dca9b22eeaaf8fc5871ea2fa25e4f48d /compiler/rustc_const_eval/src/errors.rs | |
| parent | 52758b7329d436979f8bd8a36d1ca4c476a663fd (diff) | |
| parent | ede48910fdb8956f4a23a3bb29ded754206a3ef2 (diff) | |
| download | rust-dd41c06e27df4f1e80f236d4c4bd47606773468d.tar.gz rust-dd41c06e27df4f1e80f236d4c4bd47606773468d.zip | |
Rollup merge of #142687 - cjgillot:less-hir_crate, r=oli-obk
Reduce uses of `hir_crate`. I tried rebasing my old incremental-HIR branch. This is a by-product, which is required if we want to get rid of `hir_crate` entirely. The second commit is a drive-by cleanup. It can be pulled into its own PR. r? ````@oli-obk````
Diffstat (limited to 'compiler/rustc_const_eval/src/errors.rs')
| -rw-r--r-- | compiler/rustc_const_eval/src/errors.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_const_eval/src/errors.rs b/compiler/rustc_const_eval/src/errors.rs index 037cbf777e7..69c71aef9f3 100644 --- a/compiler/rustc_const_eval/src/errors.rs +++ b/compiler/rustc_const_eval/src/errors.rs @@ -136,9 +136,7 @@ pub(crate) struct UnstableIntrinsic { code = "#![feature({feature})]\n", applicability = "machine-applicable" )] - pub suggestion: Option<Span>, - #[help(const_eval_unstable_intrinsic_suggestion)] - pub help: bool, + pub suggestion: Span, } #[derive(Diagnostic)] |
