Sign in
rust
/
rust-lang
/
rust
/
refs/heads/beta
/
.
/
tests
/
ui
/
resolve
/
auxiliary
/
fake_matches.rs
blob: 6d42972cbace01b06783ce8e73008852d5631a10 [
file
] [
log
] [
blame
]
// Helper for test tests/ui/resolve/const-with-typo-in-pattern-binding-ice-135289.rs
//@ edition: 2018
#[
macro_export
]
macro_rules
!
assert_matches
{
(
$e
:
expr
,
$
(
$pat
:
pat
)|+
)
=>
{
match
$e
{
$
(
$pat
)|+
=>
(),
_
=>
(),
}
};
}