Stabilize const_refs_to_static

update tests

fix bitwidth-sensitive stderr output

use build-fail for asm tests
This commit is contained in:
Ding Xiang Fei
2024-08-30 04:48:05 +08:00
committed by Xiang Fei Ding
parent 76ed7a1fa4
commit 1576a6d618
45 changed files with 157 additions and 442 deletions

View File

@@ -317,7 +317,6 @@ impl<'mir, 'tcx> Checker<'mir, 'tcx> {
{
self.error_emitted = Some(guar);
}
self.check_op_spanned(ops::StaticAccess, span)
}
/// Returns whether this place can possibly escape the evaluation of the current const/static