1
Fork 0

compiler: start using rustc_ast_lowering in rustc_passes

This commit is contained in:
Jubilee Young 2025-02-05 11:18:18 -08:00
parent 3f50076fb3
commit 90c50f0164
5 changed files with 8 additions and 5 deletions

View file

@ -84,7 +84,7 @@ mod index;
mod item;
mod pat;
mod path;
mod stability;
pub mod stability;
rustc_fluent_macro::fluent_messages! { "../messages.ftl" }

View file

@ -40,7 +40,7 @@ pub(crate) fn gate_unstable_abi(sess: &Session, features: &Features, span: Span,
}
}
pub(crate) struct UnstableAbi {
pub struct UnstableAbi {
abi: ExternAbi,
feature: Symbol,
explain: GateReason,
@ -70,7 +70,7 @@ impl fmt::Display for UnstableAbi {
}
}
pub(crate) fn extern_abi_stability(abi: ExternAbi) -> Result<(), UnstableAbi> {
pub fn extern_abi_stability(abi: ExternAbi) -> Result<(), UnstableAbi> {
match abi {
// stable ABIs
ExternAbi::Rust