compiler: Directly use rustc_abi in metadata and middle

Stop reexporting ReprOptions from middle::ty
This commit is contained in:
Jubilee Young
2024-11-02 19:33:00 -07:00
parent 89ec8c2cfe
commit 236fe33345
35 changed files with 93 additions and 102 deletions

View File

@@ -67,7 +67,7 @@ impl<'tcx> Value<TyCtxt<'tcx>> for ty::Binder<'_, ty::FnSig<'_>> {
err,
false,
rustc_hir::Safety::Safe,
rustc_target::spec::abi::Abi::Rust,
rustc_abi::ExternAbi::Rust,
));
// SAFETY: This is never called when `Self` is not `ty::Binder<'tcx, ty::FnSig<'tcx>>`.