mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Fix clippy lint in cg_gcc
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user