Rollup merge of #126717 - nnethercote:rustfmt-use-pre-cleanups, r=jieyouxu

Clean up some comments near `use` declarations

#125443 will reformat all `use` declarations in the repository. There are a few edge cases involving comments on `use` declarations that require care. This PR cleans up some clumsy comment cases, taking us a step closer to #125443 being able to merge.

r? ``@lqd``
This commit is contained in:
Matthias Krüger 2024-06-20 14:07:04 +02:00 committed by GitHub
commit ef2e8bfcbf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
75 changed files with 98 additions and 33 deletions

View file

@ -1,6 +1,7 @@
// FIXME(@lcnr): Move this module out of `rustc_hir_analysis`.
//
// We don't do any drop checking during hir typeck.
use rustc_data_structures::fx::FxHashSet;
use rustc_errors::{codes::*, struct_span_code_err, ErrorGuaranteed};
use rustc_infer::infer::outlives::env::OutlivesEnvironment;