we can now enable the 'const stable fn must be stable' check
This commit is contained in:
parent
f370f3493d
commit
d066dfdb83
9 changed files with 27 additions and 13 deletions
|
@ -189,9 +189,6 @@ impl<'a, 'tcx> Annotator<'a, 'tcx> {
|
|||
&& let Some(fn_sig) = fn_sig
|
||||
&& const_stab.is_const_stable()
|
||||
&& !stab.is_some_and(|(s, _)| s.is_stable())
|
||||
// FIXME: we skip this check targets until
|
||||
// <https://github.com/rust-lang/stdarch/pull/1654> propagates.
|
||||
&& false
|
||||
{
|
||||
self.tcx
|
||||
.dcx()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue