diff options
| author | bors <bors@rust-lang.org> | 2024-07-06 12:01:28 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-07-06 12:01:28 +0000 |
| commit | 0c9016aa1e6bd631aff4c03b86ccb17844ce71a1 (patch) | |
| tree | c5ff9762ec4a82a2768c57d22933dafb129f9ca5 /compiler/rustc_codegen_gcc/example/std_example.rs | |
| parent | 3ed690f07a93afd3ad1d5e9b109b0659490a4516 (diff) | |
| parent | d8fb164a7cfde2cdd70d2070b6e01d70a65217aa (diff) | |
| download | rust-0c9016aa1e6bd631aff4c03b86ccb17844ce71a1.tar.gz rust-0c9016aa1e6bd631aff4c03b86ccb17844ce71a1.zip | |
Auto merge of #13055 - Jarcho:auto_derive, r=Alexendoo
Only check for `automatically_derived` on impl blocks This brings us in line with how rustc checks for the attribute. Also note that `unused_attributes` will trigger if it's placed anywhere else. See: https://github.com/rust-lang/rust/blob/9a21ac8e7efe9ea26a8065d0959a976ca32039bb/compiler/rustc_passes/src/dead.rs#L400-L403 https://github.com/rust-lang/rust/blob/9a21ac8e7efe9ea26a8065d0959a976ca32039bb/compiler/rustc_passes/src/liveness.rs#L143-L148 changelog: none
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions
