Closed
Description
@graydon | if someone wants a cute task
@graydon | I would be fond of an attribute called #[static_assert]
@graydon | that, when applied to a static bool, halts compilation if the bool evaluates to false.
@graydon | and is an error (or ignored) anywhere else
@graydon | maybe optionally #[static_assert("why this is important")]
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
emberian commentedon May 19, 2013
@graydon could you provide some examples so I can test what I have so far?
emberian commentedon May 22, 2013
Fixed by #6670
Auto merge of rust-lang#6568 - Jarcho:redundant_pattern_matching, r=f…