Skip to content

Commit e3dd616

Browse files
committed
fix ui tests
1 parent 93b7aee commit e3dd616

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/ui/macros/assert-matches-macro-msg.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#![feature(assert_matches)]
88

9-
use std::assert::assert_matches;
9+
use std::assert_matches::assert_matches;
1010

1111
fn main() {
1212
assert_matches!(1 + 1, 3, "1 + 1 definitely should be 3");

src/test/ui/matches2021.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#![feature(assert_matches)]
88

9-
use std::assert::assert_matches;
9+
use std::assert_matches::assert_matches;
1010

1111
fn main() {
1212
assert!(matches!((), ()));

0 commit comments

Comments
 (0)