Auto merge of #67136 - oli-obk:const_stability, r=Centril
Require stable/unstable annotations for the constness of all stable fns with a const modifier r? @RalfJung @Centril Every `#[stable]` const fn now needs either a `#[rustc_const_unstable]` attribute or a `#[rustc_const_stable]` attribute. You can't silently stabilize the constness of a function anymore.
This commit is contained in:
commit
c8ea4ace92
66 changed files with 717 additions and 181 deletions
|
|
@ -41,6 +41,7 @@ const WHITELIST: &[&str] = &[
|
|||
"E0514",
|
||||
"E0519",
|
||||
"E0523",
|
||||
"E0553",
|
||||
"E0554",
|
||||
"E0570",
|
||||
"E0629",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue