diff options
| author | Trevor Gross <t.gross35@gmail.com> | 2024-07-16 20:10:10 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-16 20:10:10 -0500 |
| commit | 606d8cf9e81702fc50aff3baa4154f90df68b261 (patch) | |
| tree | 62f8f1a112ceb02502f6bf0b75b399792b3c231c /compiler/rustc_pattern_analysis/src | |
| parent | fe1dc02163e001092ae4e7306ec30b05e9960657 (diff) | |
| parent | 7f0ccfe69d7c79ed84a7fb23081fd2d15434da62 (diff) | |
| download | rust-606d8cf9e81702fc50aff3baa4154f90df68b261.tar.gz rust-606d8cf9e81702fc50aff3baa4154f90df68b261.zip | |
Rollup merge of #126776 - nnethercote:rustfmt-use-pre-cleanups-2, r=cuviper
Clean up more 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 fixes them up so #125443 can go ahead with a simple `x fmt --all`. A follow-up to #126717. r? ``@cuviper``
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
| -rw-r--r-- | compiler/rustc_pattern_analysis/src/lib.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_pattern_analysis/src/lib.rs b/compiler/rustc_pattern_analysis/src/lib.rs index c9590ad06b0..1b4bcb789d2 100644 --- a/compiler/rustc_pattern_analysis/src/lib.rs +++ b/compiler/rustc_pattern_analysis/src/lib.rs @@ -21,9 +21,7 @@ rustc_fluent_macro::fluent_messages! { "../messages.ftl" } use std::fmt; -// Re-exports to avoid rustc_index version issues. -pub use rustc_index::Idx; -pub use rustc_index::IndexVec; +pub use rustc_index::{Idx, IndexVec}; // re-exported to avoid rustc_index version issues #[cfg(feature = "rustc")] use rustc_middle::ty::Ty; |
