Expand assert!(expr) to panic() function instead of panic!() macro.
The panic message might contain braces which should never be interpreted as format placeholders, which panic!() will do in a future edition.
This commit is contained in:
parent
f228efc3f5
commit
3beb2e95a9
3 changed files with 38 additions and 26 deletions
|
@ -791,6 +791,7 @@ symbols! {
|
|||
panic_runtime,
|
||||
panic_str,
|
||||
panic_unwind,
|
||||
panicking,
|
||||
param_attrs,
|
||||
parent_trait,
|
||||
partial_cmp,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue