[−][src]Macro always_assert::never
Asserts that the condition is never true and returns its actual value.
If the condition is false does nothing and and evaluates to false.
If the condition is true:
- panics if
forcefeature ordebug_assertionsare enabled, - logs an error if
logfeature is enabled, - evaluates to true.
Accepts format! style arguments.