diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-08-19 20:14:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-19 20:14:57 +0200 |
| commit | 7b245e4506f0319baac4ad89e6ef13c4adc81448 (patch) | |
| tree | bbaea5d0ded8be526c96d7b54c610746b8ec4827 /compiler/rustc_codegen_gcc | |
| parent | 5ba877c262aa92857d88163114793e2947dc517b (diff) | |
| parent | df6cb954bb50fa8567f7198c02db90edda3cd3e4 (diff) | |
| download | rust-7b245e4506f0319baac4ad89e6ef13c4adc81448.tar.gz rust-7b245e4506f0319baac4ad89e6ef13c4adc81448.zip | |
Rollup merge of #129235 - GoldsteinE:check-may-dangle, r=compiler-errors
Check that `#[may_dangle]` is properly applied It's only valid when applied to a type or lifetime parameter in `Drop` trait implementation. Tracking issue: https://github.com/rust-lang/rust/issues/34761 cc https://github.com/rust-lang/rust/issues/34761#issuecomment-1208185551
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
