about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-04-14 09:01:56 +0200
committerGitHub <noreply@github.com>2024-04-14 09:01:56 +0200
commit7c8c2f08e16ede8fcdbeab50b9fd508f203c61b4 (patch)
treeedc783c96a218afc022277c9ce55cd04426ea4fe /compiler/rustc_codegen_llvm/src/errors.rs
parentf3c66088610c1b80110297c2d9a8b5f9265b013f (diff)
parent313085f7258ef86cf190aa6c234a42843995fdbc (diff)
downloadrust-7c8c2f08e16ede8fcdbeab50b9fd508f203c61b4.tar.gz
rust-7c8c2f08e16ede8fcdbeab50b9fd508f203c61b4.zip
Rollup merge of #123651 - tgross35:thread-local-updates, r=Mark-Simulacrum
Thread local updates for idiomatic examples

Update thread local examples to make more idiomatic use of `Cell` for `Copy` types, `RefCell` for non-`Copy` types.

Also shrink the size of `unsafe` blocks, add `SAFETY` comments, and fix `clippy::redundant_closure_for_method_calls`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions