-
Couldn't load subscription status.
- Fork 13.9k
Open
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.
Description
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
- Implementation: Add assert_matches macro. #82770
- Temporarily move the macro into
std::assert_matches::assert_matchesto avoid breakage: Is there a gentler way to land the assert_matches macro? #82913 - Final commenting period (FCP)
- Stabilization PR
- Update the
must_usemessage onis_none(per Add messages toOption's andResult'smust_useannotation foris_*#62431 (review)) - Mention this macro in the documentation of
matches!()
- Update the
Unresolved Questions
- Add
=> exprsyntax?- Nope, too confusing. (See discussion below.)
Demiu, hartwork, Andlon, nyurik, dimo414 and 33 moreschneiderfelipe, aliksend and musjjelpiel, shirshak55, MattiasBuelens, athre0z, kaleidawave and 117 moreTENX-S, CBenoit, mohe2015, elichai, roylaurie and 6 moreDzuchun, musjj, ldanko, bbb651 and schneiderfelipe
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.