Don't allow new const panic through format flattening.
panic!("a {}", "b") is still not allowed in const, even if the hir flattens to panic!("a b").
This commit is contained in:
parent
96d252160e
commit
f2f6bcc499
7 changed files with 66 additions and 17 deletions
|
@ -984,6 +984,7 @@ symbols! {
|
|||
never_type_fallback,
|
||||
new,
|
||||
new_binary,
|
||||
new_const,
|
||||
new_debug,
|
||||
new_display,
|
||||
new_lower_exp,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue