1
Fork 0

add a HACK to allow stdarch migration

This commit is contained in:
Ralf Jung 2024-10-08 19:03:35 +02:00
parent 16b9bb744d
commit 36dda4571d
3 changed files with 9 additions and 21 deletions

View file

@ -189,6 +189,9 @@ 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()