1
Fork 0

rename assert_matches module

This commit is contained in:
Jane Lusby 2021-07-16 09:18:14 -07:00
parent 59d92bd017
commit 93b7aee2da
4 changed files with 6 additions and 6 deletions

View file

@ -6,7 +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 std::assert_matches::assert_matches;
use smallvec::SmallVec;

View file

@ -6,7 +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::assert_matches::assert_matches;
use std::borrow::Cow;
use std::collections::VecDeque;
use std::convert::{TryFrom, TryInto};