From f98ea3d144208113df2e644a88a650192fad57ad Mon Sep 17 00:00:00 2001 From: Jonathan Brouwer Date: Wed, 25 Jun 2025 09:44:52 +0200 Subject: Port `#[rustc_layout_scalar_valid_range_start/end]` to the new attribute parsing infrastructure Signed-off-by: Jonathan Brouwer --- compiler/rustc_passes/src/errors.rs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'compiler/rustc_passes/src/errors.rs') diff --git a/compiler/rustc_passes/src/errors.rs b/compiler/rustc_passes/src/errors.rs index 3286ccc94f2..107fc17b536 100644 --- a/compiler/rustc_passes/src/errors.rs +++ b/compiler/rustc_passes/src/errors.rs @@ -535,13 +535,6 @@ pub(crate) struct RustcLayoutScalarValidRangeNotStruct { pub span: Span, } -#[derive(Diagnostic)] -#[diag(passes_rustc_layout_scalar_valid_range_arg)] -pub(crate) struct RustcLayoutScalarValidRangeArg { - #[primary_span] - pub attr_span: Span, -} - #[derive(Diagnostic)] #[diag(passes_rustc_legacy_const_generics_only)] pub(crate) struct RustcLegacyConstGenericsOnly { -- cgit 1.4.1-3-g733a5