Auto merge of #87195 - yaahc:move-assert_matches-again, r=oli-obk

rename assert_matches module

Fixes nightly breakage introduced in https://github.com/rust-lang/rust/pull/86947
This commit is contained in:
bors 2021-07-17 00:35:36 +00:00
commit 0cd12d649e
7 changed files with 11 additions and 11 deletions

View file

@ -6,7 +6,7 @@
#![feature(assert_matches)]
use std::assert::assert_matches;
use std::assert_matches::assert_matches;
fn main() {
assert_matches!(1 + 1, 3, "1 + 1 definitely should be 3");

View file

@ -6,7 +6,7 @@
#![feature(assert_matches)]
use std::assert::assert_matches;
use std::assert_matches::assert_matches;
fn main() {
assert!(matches!((), ()));