1
Fork 0

Move [debug_]assert_matches to mod {core, std}::assert.

This commit is contained in:
Mara Bos 2021-07-07 16:25:46 +00:00
parent c5e344f774
commit e3044432c7
9 changed files with 36 additions and 15 deletions

View file

@ -6,6 +6,7 @@ use crate::ich::StableHashingContext;
use rustc_ast as ast;
use rustc_data_structures::stable_hasher::{HashStable, StableHasher};
use rustc_span::{BytePos, NormalizedPos, SourceFile};
use std::assert::assert_matches;
use smallvec::SmallVec;

View file

@ -6,6 +6,7 @@
//! integer. It is crucial that these operations call `check_align` *before*
//! short-circuiting the empty case!
use std::assert::assert_matches;
use std::borrow::Cow;
use std::collections::VecDeque;
use std::convert::{TryFrom, TryInto};