diff options
| author | bors <bors@rust-lang.org> | 2025-07-01 08:33:00 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-07-01 08:33:00 +0000 |
| commit | 86e05cd300fac9e83e812c4d46582b48db780d8f (patch) | |
| tree | a84ea5c2c061dded60a0058d75fb63adfedd9133 /compiler/rustc_passes/src/errors.rs | |
| parent | f46ce66fcc3d6058f90ac5bf0930f940f1e7b0ca (diff) | |
| parent | f98ea3d144208113df2e644a88a650192fad57ad (diff) | |
| download | rust-86e05cd300fac9e83e812c4d46582b48db780d8f.tar.gz rust-86e05cd300fac9e83e812c4d46582b48db780d8f.zip | |
Auto merge of #142921 - JonathanBrouwer:rustc_attributes_parser, r=oli-obk
Port `#[rustc_layout_scalar_valid_range_start/end]` to the new attrib… Ports `rustc_layout_scalar_valid_range_start` and `rustc_layout_scalar_valid_range_end` to the new attribute parsing infrastructure for https://github.com/rust-lang/rust/issues/131229#issuecomment-2971353197 r? `@jdonszelmann`
Diffstat (limited to 'compiler/rustc_passes/src/errors.rs')
| -rw-r--r-- | compiler/rustc_passes/src/errors.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/rustc_passes/src/errors.rs b/compiler/rustc_passes/src/errors.rs index eaff1cc65de..d4988277073 100644 --- a/compiler/rustc_passes/src/errors.rs +++ b/compiler/rustc_passes/src/errors.rs @@ -536,13 +536,6 @@ pub(crate) struct RustcLayoutScalarValidRangeNotStruct { } #[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 { #[primary_span] |
