Rename Unsafe to Safety

This commit is contained in:
Santiago Pastorino
2024-05-17 14:17:48 -03:00
parent 2d89cee625
commit 6b46a919e1
115 changed files with 460 additions and 494 deletions

View File

@@ -65,7 +65,7 @@ impl<'tcx> Value<TyCtxt<'tcx>> for ty::Binder<'_, ty::FnSig<'_>> {
std::iter::repeat(err).take(arity),
err,
false,
rustc_hir::Unsafety::Normal,
rustc_hir::Safety::Safe,
rustc_target::spec::abi::Abi::Rust,
));