rust/library
许杰友 Jieyou Xu (Joe) af85d5280a
Rollup merge of #131866 - jieyouxu:thread_local, r=jhpratt
Avoid use imports in `thread_local_inner!`

Previously, the use imports in `thread_local_inner!` can shadow user-provided types or type aliases of the names `Storage`, `EagerStorage`, `LocalStorage` and `LocalKey`. This PR fixes that by dropping the use imports and instead refer to the std-internal types via fully qualified paths. A basic test is added to ensure `thread_local!`s with static decls with type names that match the aforementioned std-internal type names can successfully compile.

Fixes #131863.
2024-10-18 12:00:53 +01:00
..
alloc Rollup merge of #131809 - collinoc:fix-retain-mut-docs, r=jhpratt 2024-10-18 12:00:52 +01:00
backtrace@230570f2da
core Rollup merge of #131858 - AnthonyMikh:AnthonyMikh/repeat_n-is-not-that-special-anymore, r=jhpratt 2024-10-18 12:00:52 +01:00
panic_abort
panic_unwind
portable-simd
proc_macro update Literal's intro 2024-10-02 01:27:11 +08:00
profiler_builtins
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std Rollup merge of #131866 - jieyouxu:thread_local, r=jhpratt 2024-10-18 12:00:53 +01:00
stdarch@c881fe3231 stdarch: Bump stdarch submodule 2024-10-10 10:16:16 +00:00
sysroot
test Change a few &Option<T> into Option<&T> 2024-10-08 23:26:29 -04:00
unwind Rollup merge of #131654 - betrusted-io:xous-various-fixes, r=thomcc 2024-10-18 06:59:05 +02:00
windows_targets
Cargo.lock Rollup merge of #131823 - thesummer:bump-libc-0.2.160, r=workingjubilee 2024-10-18 06:59:06 +02:00
Cargo.toml