Fix clippy lint in cg_gcc
This commit is contained in:
parent
8d9b1d0292
commit
e6143962f9
1 changed files with 3 additions and 3 deletions
|
|
@ -500,11 +500,11 @@ impl<'gcc, 'tcx> BackendTypes for Builder<'_, 'gcc, 'tcx> {
|
|||
}
|
||||
|
||||
fn set_rvalue_location<'a, 'gcc, 'tcx>(
|
||||
bx: &mut Builder<'a, 'gcc, 'tcx>,
|
||||
_bx: &mut Builder<'a, 'gcc, 'tcx>,
|
||||
rvalue: RValue<'gcc>,
|
||||
) -> RValue<'gcc> {
|
||||
if let Some(location) = bx.location {
|
||||
#[cfg(feature = "master")]
|
||||
#[cfg(feature = "master")]
|
||||
if let Some(location) = _bx.location {
|
||||
rvalue.set_location(location);
|
||||
}
|
||||
rvalue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue