Skip to content

Commit

Permalink
removed unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
nebulark committed May 6, 2024
1 parent c187993 commit a2f3275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_codegen_ssa/src/codegen_attrs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ fn codegen_fn_attrs(tcx: TyCtxt<'_>, did: LocalDefId) -> CodegenFnAttrs {
let attrib_to_write = match single_segment.ident.name {
sym::prefix_nops => &mut prefix,
sym::entry_nops => &mut entry,
x => {
_ => {
tcx.dcx().span_err(metaitem.span, "Unexpected parameter.");
continue;
}
Expand Down

0 comments on commit a2f3275

Please sign in to comment.