mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-05 01:24:03 +00:00
Clean up some small things related to lint `ambiguous_glob_imported_traits` Cleaning up things I noticed in the vicinity while reviewing PR https://github.com/rust-lang/rust/pull/157968 (which concerns lint `ambiguous_glob_imported_traits` and feature `supertrait_item_shadowing`). Namely, 1. turning two tuple struct variants into named ones to avoid "anonymous `bool`s" 2. fixing an inaccurate `supertrait_item_shadowing`-specific doc comment 3. applying the rules listed in our [Diagnostic output style guide](https://rustc-dev-guide.rust-lang.org/diagnostics.html#diagnostic-output-style-guide) to the diagnostic of lint `ambiguous_glob_imported_traits` <sub>(No LLM was or will be used by me during the entire creation process of this PR)</sub>