diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-10-15 07:44:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-15 07:44:45 +0200 |
| commit | b74ae0487b81628f67f5ca66a12ebd636eb9cafe (patch) | |
| tree | cbe3d8454b294af8a69fff8149db71b02da0fa01 /compiler/rustc_codegen_gcc | |
| parent | 36a1076d24697621a3bb67ef654b4eb79647aa54 (diff) | |
| parent | c76c620e4ec7d504fe42c9ca66bb55511fc9b23f (diff) | |
| download | rust-b74ae0487b81628f67f5ca66a12ebd636eb9cafe.tar.gz rust-b74ae0487b81628f67f5ca66a12ebd636eb9cafe.zip | |
Rollup merge of #89821 - crlf0710:unsafe_code_lint_test, r=Mark-Simulacrum
Add a strange test for `unsafe_code` lint. The current behavior is a little surprising to me. I'm not sure whether people would change it, but at least let me document the current behavior with a test. I learnt about this from the [totally-speedy-transmute](https://docs.rs/totally-speedy-transmute) crate. cc #10599 the original implementation pr.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
