diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2024-10-18 12:00:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-18 12:00:53 +0100 |
| commit | af85d5280a9de1f6bb504f74036ad994905d77dc (patch) | |
| tree | 2fc1921f8d83c0505455419e8088d1e299095c98 /library/std/src/sys/pal/unix/futex.rs | |
| parent | 64bf99b47660a018d5ded9c1d4c2915be9d16f08 (diff) | |
| parent | 7b2320c3df9e57e8920a8eeec94e907e3d3e6347 (diff) | |
| download | rust-af85d5280a9de1f6bb504f74036ad994905d77dc.tar.gz rust-af85d5280a9de1f6bb504f74036ad994905d77dc.zip | |
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.
Diffstat (limited to 'library/std/src/sys/pal/unix/futex.rs')
0 files changed, 0 insertions, 0 deletions
