about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-12-08 07:12:26 +0000
committerbors <bors@rust-lang.org>2023-12-08 07:12:26 +0000
commit8043f62258602051caf50e2d83e9b7c1329d14ff (patch)
tree6300bacfd0aac89d334167278e4e65a6e9c2d8b0 /compiler/rustc_data_structures/src
parent6c470a557ab97ee9e73ff5ab3d0872fbccad6645 (diff)
parent9dd34d5945382344c073bca05fe5d6e8cacdf51f (diff)
downloadrust-8043f62258602051caf50e2d83e9b7c1329d14ff.tar.gz
rust-8043f62258602051caf50e2d83e9b7c1329d14ff.zip
Auto merge of #118732 - matthiaskrgr:rollup-ub9pgjm, r=matthiaskrgr
Rollup of 8 pull requests

Successful merges:

 - #118505 (Elaborate on ip_addr bit conversion endianness)
 - #118581 (OnceLock: Add note about drop and statics)
 - #118677 ([rustdoc] Fix display of features)
 - #118690 (coverage: Avoid unnecessary macros in unit tests)
 - #118693 (Tell MirUsedCollector that the pointer alignment checks calls its panic symbol)
 - #118695 (coverage: Merge refined spans in a separate final pass)
 - #118709 (fix jobserver GLOBAL_CLIENT_CHECKED uninitialized before use)
 - #118722 (rustdoc: remove unused parameter `reversed` from onEach(Lazy))

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_data_structures/src')
-rw-r--r--compiler/rustc_data_structures/src/jobserver.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/jobserver.rs b/compiler/rustc_data_structures/src/jobserver.rs
index b777bfd4d3c..412e33aaa65 100644
--- a/compiler/rustc_data_structures/src/jobserver.rs
+++ b/compiler/rustc_data_structures/src/jobserver.rs
@@ -52,7 +52,7 @@ fn default_client() -> Client {
 
 static GLOBAL_CLIENT_CHECKED: OnceLock<Client> = OnceLock::new();
 
-pub fn check(report_warning: impl FnOnce(&'static str)) {
+pub fn initialize_checked(report_warning: impl FnOnce(&'static str)) {
     let client_checked = match &*GLOBAL_CLIENT {
         Ok(client) => client.clone(),
         Err(e) => {