diff options
| author | bors <bors@rust-lang.org> | 2021-10-02 10:52:09 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-10-02 10:52:09 +0000 |
| commit | b27661eb33c74cb514dba059b47d86b6582ac1c2 (patch) | |
| tree | 8ca6823fb95d22bff6676e007a813bc156348ec1 /compiler/rustc_codegen_llvm/src/abi.rs | |
| parent | a8387aef8c378a771686878062e544af4d5e2245 (diff) | |
| parent | 759eba0a08ef80f958e671e822ad02e2b5409946 (diff) | |
| download | rust-b27661eb33c74cb514dba059b47d86b6582ac1c2.tar.gz rust-b27661eb33c74cb514dba059b47d86b6582ac1c2.zip | |
Auto merge of #89405 - GuillaumeGomez:fix-clippy-lints, r=cjgillot
Fix clippy lints I'm currently working on allowing clippy to run on librustdoc after a discussion I had with `@Mark-Simulacrum.` So in the meantime, I fixed a few lints on the compiler crates.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/abi.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/abi.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/abi.rs b/compiler/rustc_codegen_llvm/src/abi.rs index 1a0a3a0c340..dca9c1f04d3 100644 --- a/compiler/rustc_codegen_llvm/src/abi.rs +++ b/compiler/rustc_codegen_llvm/src/abi.rs @@ -526,7 +526,7 @@ impl<'tcx> FnAbiLlvmExt<'tcx> for FnAbi<'tcx, Ty<'tcx>> { }; match self.ret.mode { PassMode::Direct(ref attrs) => { - attrs.apply_attrs_to_callsite(llvm::AttributePlace::ReturnValue, &bx.cx, callsite); + attrs.apply_attrs_to_callsite(llvm::AttributePlace::ReturnValue, bx.cx, callsite); } PassMode::Indirect { ref attrs, extra_attrs: _, on_stack } => { assert!(!on_stack); |
