Files
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
..
2024-08-29 12:13:19 -07:00
2024-07-28 14:46:29 -04:00
2024-10-02 01:27:11 +08:00
2024-10-10 10:16:16 +00:00