diff options
| author | Boxy <rust@boxyuwu.dev> | 2025-02-25 00:06:38 +0000 | 
|---|---|---|
| committer | Boxy <rust@boxyuwu.dev> | 2025-02-28 20:43:15 +0000 | 
| commit | df5b279ca962a84c83a6766dbb02cf23b866082a (patch) | |
| tree | 203f2b2d84eb6e8e648ee2cdb961ad3d4b8d1aa2 /compiler/rustc_resolve/src/errors.rs | |
| parent | 60493b8973ac5ba632952eaa2f212b56bb97ccfe (diff) | |
| download | rust-df5b279ca962a84c83a6766dbb02cf23b866082a.tar.gz rust-df5b279ca962a84c83a6766dbb02cf23b866082a.zip | |
Introduce `feature(generic_const_parameter_types)`
Diffstat (limited to 'compiler/rustc_resolve/src/errors.rs')
| -rw-r--r-- | compiler/rustc_resolve/src/errors.rs | 13 | 
1 files changed, 0 insertions, 13 deletions
| diff --git a/compiler/rustc_resolve/src/errors.rs b/compiler/rustc_resolve/src/errors.rs index 7eb795034b0..b5d3e5ea776 100644 --- a/compiler/rustc_resolve/src/errors.rs +++ b/compiler/rustc_resolve/src/errors.rs @@ -347,19 +347,6 @@ pub(crate) struct ParamInTyOfConstParam { #[label] pub(crate) span: Span, pub(crate) name: Symbol, - #[subdiagnostic] - pub(crate) param_kind: Option<ParamKindInTyOfConstParam>, -} - -#[derive(Debug)] -#[derive(Subdiagnostic)] -pub(crate) enum ParamKindInTyOfConstParam { - #[note(resolve_type_param_in_ty_of_const_param)] - Type, - #[note(resolve_const_param_in_ty_of_const_param)] - Const, - #[note(resolve_lifetime_param_in_ty_of_const_param)] - Lifetime, } #[derive(Diagnostic)] | 
