diff options
| author | Michael Goulet <michael@errs.io> | 2024-06-24 15:51:00 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-24 15:51:00 -0400 |
| commit | 00e5f5886af17fe690a685290381531f840c5edc (patch) | |
| tree | efccea409bb933425794846ab279e62f11886498 /compiler/rustc_driver_impl/src | |
| parent | 5a3e2a4e921097c8f2bf6ea7565f8abe878cdbd4 (diff) | |
| parent | d630f5da7a24e225a9547301e6a7c634f67aad79 (diff) | |
| download | rust-00e5f5886af17fe690a685290381531f840c5edc.tar.gz rust-00e5f5886af17fe690a685290381531f840c5edc.zip | |
Rollup merge of #124460 - long-long-float:show-notice-about-enum-with-debug, r=pnkfelix
Show notice about "never used" of Debug for enum Close #123068 If an ADT implements `Debug` trait and it is not used, the compiler says a note that indicates intentionally ignored during dead code analysis as [this note](https://github.com/rust-lang/rust/blob/2207179a591f5f252885a94ab014dafeb6e8e9e8/tests/ui/lint/dead-code/unused-variant.stderr#L9). However this node is not shown for variants that have fields in enum. This PR fixes to show the note.
Diffstat (limited to 'compiler/rustc_driver_impl/src')
0 files changed, 0 insertions, 0 deletions
