about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ich
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-07-15 21:19:16 +0900
committerGitHub <noreply@github.com>2021-07-15 21:19:16 +0900
commita5acb7b4ba98044a73f26a68810190a3401c75ee (patch)
tree77b4a99f5f49a2b4682dc68f9517ebd08ce31f23 /compiler/rustc_middle/src/ich
parent98130137d95ca130dedd2501c2e6478734658683 (diff)
parente3044432c7d1d5ec64a3e96f7856df74d9e43b43 (diff)
Rollup merge of #86947 - m-ou-se:assert-matches-to-submodule, r=yaahc
Move assert_matches to an inner module

Fixes #82913
Diffstat (limited to 'compiler/rustc_middle/src/ich')
-rw-r--r--compiler/rustc_middle/src/ich/impls_syntax.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_middle/src/ich/impls_syntax.rs b/compiler/rustc_middle/src/ich/impls_syntax.rs
index 2d8f661ef59..1c66f831b5f 100644
--- a/compiler/rustc_middle/src/ich/impls_syntax.rs
+++ b/compiler/rustc_middle/src/ich/impls_syntax.rs
@@ -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;