mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Remove the rustc_data_structures::assert_matches! re-exports
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user