View all comments
Feature gate: #![feature(assert_matches)]
This is a tracking issue for the assert_matches!() and debug_assert_matches!() macros.
Public API
// core
macro_rules! assert_matches { .. }
macro_rules! debug_assert_matches { .. }
Steps / History
Unresolved Questions
View all comments
Feature gate:
#![feature(assert_matches)]This is a tracking issue for the
assert_matches!()anddebug_assert_matches!()macros.Public API
Steps / History
std::assert_matches::assert_matchesto avoid breakage: Is there a gentler way to land the assert_matches macro? #82913must_usemessage onis_none(per Add messages toOption's andResult'smust_useannotation foris_*#62431 (review))matches!()Unresolved Questions
=> exprsyntax?