Skip to content

Commit a2f3275

Browse files
committed
removed unused variable
1 parent c187993 commit a2f3275

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_ssa/src/codegen_attrs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ fn codegen_fn_attrs(tcx: TyCtxt<'_>, did: LocalDefId) -> CodegenFnAttrs {
471471
let attrib_to_write = match single_segment.ident.name {
472472
sym::prefix_nops => &mut prefix,
473473
sym::entry_nops => &mut entry,
474-
x => {
474+
_ => {
475475
tcx.dcx().span_err(metaitem.span, "Unexpected parameter.");
476476
continue;
477477
}

0 commit comments

Comments
 (0)