diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2025-02-11 01:02:40 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-11 01:02:40 -0500 |
| commit | 6153a8dceabb8b35abb074fdb96422d05fd2944a (patch) | |
| tree | 00df16ba16779b929eb7b8e10a664548b5bd2c6f /compiler/rustc_codegen_llvm/src/abi.rs | |
| parent | 2996cfdcc3b9c46853f4a424079af1da6ce0e638 (diff) | |
| parent | 5f29273921f2a15a440e373c640d5525756fdf41 (diff) | |
| download | rust-6153a8dceabb8b35abb074fdb96422d05fd2944a.tar.gz rust-6153a8dceabb8b35abb074fdb96422d05fd2944a.zip | |
Rollup merge of #136721 - dpaoliello:cleanllvm2, r=Zalathar
cg_llvm: Reduce visibility of some items outside the `llvm` module Next piece of #135502 This reduces the visibility of items (other than those in the `llvm` module) so that dead code analysis will correctly identify unused items.
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 685b2f37c9c..13846c8ab4b 100644 --- a/compiler/rustc_codegen_llvm/src/abi.rs +++ b/compiler/rustc_codegen_llvm/src/abi.rs @@ -664,7 +664,7 @@ impl<'tcx> AbiBuilderMethods<'tcx> for Builder<'_, '_, 'tcx> { } impl llvm::CallConv { - pub fn from_conv(conv: Conv, arch: &str) -> Self { + pub(crate) fn from_conv(conv: Conv, arch: &str) -> Self { match conv { Conv::C | Conv::Rust |
