Remove the rustc_data_structures::assert_matches! re-exports

This commit is contained in:
Zalathar
2026-03-08 14:43:23 +11:00
parent c7b206bba4
commit 985b41d387
58 changed files with 80 additions and 88 deletions
+1 -2
View File
@@ -16,7 +16,7 @@
pub mod asm;
pub mod cfg_select;
use std::{fmt, mem, slice};
use std::{debug_assert_matches, fmt, mem, slice};
use attr_wrapper::{AttrWrapper, UsePreAttrPos};
pub use diagnostics::AttemptLocalParseRecovery;
@@ -40,7 +40,6 @@
VisibilityKind,
};
use rustc_ast_pretty::pprust;
use rustc_data_structures::debug_assert_matches;
use rustc_data_structures::fx::FxHashMap;
use rustc_errors::{Applicability, Diag, FatalError, MultiSpan, PResult};
use rustc_index::interval::IntervalSet;
+1 -2
View File
@@ -3,14 +3,13 @@
use std::iter::Peekable;
use std::path::PathBuf;
use std::sync::{Arc, Mutex};
use std::{io, str};
use std::{assert_matches, io, str};
use ast::token::IdentIsRaw;
use rustc_ast::token::{self, Delimiter, Token};
use rustc_ast::tokenstream::{DelimSpacing, DelimSpan, Spacing, TokenStream, TokenTree};
use rustc_ast::{self as ast, PatKind, visit};
use rustc_ast_pretty::pprust::item_to_string;
use rustc_data_structures::assert_matches;
use rustc_errors::annotate_snippet_emitter_writer::AnnotateSnippetEmitter;
use rustc_errors::emitter::OutputTheme;
use rustc_errors::{AutoStream, DiagCtxt, MultiSpan, PResult};