diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2024-02-20 15:13:55 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-20 15:13:55 +0100 |
| commit | d61adbffe1372e3ea21612d46b6a0846a1b1143e (patch) | |
| tree | f6651e26fb6bde449d58fcaab96fd5db68288a31 /compiler/rustc_pattern_analysis/src | |
| parent | 739f83d906a6102ea678fac90f2d4dafba53976b (diff) | |
| parent | dc7a01610f2a26dd1e1dadd136b20715909d6b94 (diff) | |
| download | rust-d61adbffe1372e3ea21612d46b6a0846a1b1143e.tar.gz rust-d61adbffe1372e3ea21612d46b6a0846a1b1143e.zip | |
Rollup merge of #121318 - kadiwa4:no_assembly_in_supposedly_safe_code, r=Nilstrieb
Trigger `unsafe_code` lint on invocations of `global_asm` `unsafe_code` already warns about things that don't involve the `unsafe` keyword, e.g. `#[no_mangle]`. This makes it warn on `core::arch::global_asm` too. Fixes #103078
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
