-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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_matches
to avoid breakage: Is there a gentler way to land the assert_matches macro? #82913 - Final commenting period (FCP)
- Stabilization PR
- Update the
must_use
message onis_none
(per Add messages toOption
's andResult
'smust_use
annotation foris_*
#62431 (review)) - Mention this macro in the documentation of
matches!()
- Update the
Unresolved Questions
- Add
=> expr
syntax?- Nope, too confusing. (See discussion below.)
Demiu, hartwork, Andlon, nyurik, dimo414 and 27 moreschneiderfelipe and aliksendelpiel, shirshak55, MattiasBuelens, athre0z, kaleidawave and 114 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.