mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
fix ui tests
This commit is contained in:
parent
93b7aee2da
commit
e3dd616911
@ -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");
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#![feature(assert_matches)]
|
||||
|
||||
use std::assert::assert_matches;
|
||||
use std::assert_matches::assert_matches;
|
||||
|
||||
fn main() {
|
||||
assert!(matches!((), ()));
|
||||
|
Loading…
Reference in New Issue
Block a user