diff options
| author | Jonathan Brouwer <jonathantbrouwer@gmail.com> | 2025-07-04 12:42:33 +0200 |
|---|---|---|
| committer | Jonathan Brouwer <jonathantbrouwer@gmail.com> | 2025-07-06 09:51:35 +0200 |
| commit | 3fa0ec91d8f3f14f9514d45d93e6fb7fdf1ad89e (patch) | |
| tree | 66df20bec1d1c6d142db768c438968e4001ebe73 /compiler/rustc_codegen_ssa/src | |
| parent | febb10d0a2d29278135676783f6a22eb83295981 (diff) | |
| download | rust-3fa0ec91d8f3f14f9514d45d93e6fb7fdf1ad89e.tar.gz rust-3fa0ec91d8f3f14f9514d45d93e6fb7fdf1ad89e.zip | |
Rewrite empty attribute lint
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/codegen_attrs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/codegen_attrs.rs b/compiler/rustc_codegen_ssa/src/codegen_attrs.rs index 2713ec07f97..be63bb8ac59 100644 --- a/compiler/rustc_codegen_ssa/src/codegen_attrs.rs +++ b/compiler/rustc_codegen_ssa/src/codegen_attrs.rs @@ -109,7 +109,7 @@ fn codegen_fn_attrs(tcx: TyCtxt<'_>, did: LocalDefId) -> CodegenFnAttrs { if let hir::Attribute::Parsed(p) = attr { match p { - AttributeKind::Repr(reprs) => { + AttributeKind::Repr { reprs, first_span: _ } => { codegen_fn_attrs.alignment = reprs .iter() .filter_map( |
