diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-09-05 15:16:55 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-09-17 16:24:33 +1000 |
| commit | bdacdfe95f17188f5b047e0330e3e47f993a2016 (patch) | |
| tree | 51283687db7ad3db2a6add79e1196b83b9aee629 /compiler/rustc_codegen_ssa/src/codegen_attrs.rs | |
| parent | 04a318787b39732e306faf5ef6dc584990f4f417 (diff) | |
| download | rust-bdacdfe95f17188f5b047e0330e3e47f993a2016.tar.gz rust-bdacdfe95f17188f5b047e0330e3e47f993a2016.zip | |
Minimize visibilities.
This makes it much clearer which things are used outside the crate.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/codegen_attrs.rs')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/codegen_attrs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/codegen_attrs.rs b/compiler/rustc_codegen_ssa/src/codegen_attrs.rs index 9149c602296..f8a1398db85 100644 --- a/compiler/rustc_codegen_ssa/src/codegen_attrs.rs +++ b/compiler/rustc_codegen_ssa/src/codegen_attrs.rs @@ -755,6 +755,6 @@ fn check_link_name_xor_ordinal( } } -pub fn provide(providers: &mut Providers) { +pub(crate) fn provide(providers: &mut Providers) { *providers = Providers { codegen_fn_attrs, should_inherit_track_caller, ..*providers }; } |
