Sign in
fuchsia
/
third_party
/
rust
/
d2b0555964913073a2680739e8678bab4b7850ed
/
.
/
tests
/
ui
/
stdlib-unit-tests
/
matches2021.rs
blob: 78c8be7321362f04f0669406fdaa6a93b26451b3 [
file
] [
log
] [
blame
]
//@ run-pass
//@ edition:2021
// regression test for https://github.com/rust-lang/rust/pull/85678
#![
feature
(
assert_matches
)]
use
std
::
assert_matches
::
assert_matches
;
fn
main
()
{
assert
!(
matches
!((),
()));
assert_matches
!((),
());
}