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>2023-07-15 19:42:52 +0200
committerGitHub <noreply@github.com>2023-07-15 19:42:52 +0200
commit9b8be2f0e10f68a90ddc1202854869965d44e1d0 (patch)
tree9d615b55ec25453726427be63ae156bdd799caaf /compiler/rustc_codegen_llvm/src/errors.rs
parente76ae3e4c5bf3c75996811bb9bc04173a1ed5f09 (diff)
parent2cfe8ed37d5949a823ad3f0fe1db5e79f9fc9f90 (diff)
downloadrust-9b8be2f0e10f68a90ddc1202854869965d44e1d0.tar.gz
rust-9b8be2f0e10f68a90ddc1202854869965d44e1d0.zip
Rollup merge of #113663 - syvb:non_inherited_unsafe_thir, r=cjgillot
Implement "items do not inherit unsafety" note for THIR unsafeck

Implements the "items do not inherit unsafety from separate enclosing items" note from the MIR unsafety checker in the THIR unsafety checker (`-Z thir-unsafeck`) to maintain parity between the two unsafety checkers. The logic to find the separate enclosing item is nearly the same as in the MIR unsafety checker.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions