Skip to content

Commit 90a1362

Browse files
Fix clippy lint in cg_gcc
1 parent 4c6544b commit 90a1362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_gcc/src/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,8 +503,8 @@ fn set_rvalue_location<'a, 'gcc, 'tcx>(
503503
bx: &mut Builder<'a, 'gcc, 'tcx>,
504504
rvalue: RValue<'gcc>,
505505
) -> RValue<'gcc> {
506+
#[cfg(feature = "master")]
506507
if let Some(location) = bx.location {
507-
#[cfg(feature = "master")]
508508
rvalue.set_location(location);
509509
}
510510
rvalue

0 commit comments

Comments
 (0)