compiler: start using rustc_ast_lowering in rustc_passes
This commit is contained in:
parent
3f50076fb3
commit
90c50f0164
5 changed files with 8 additions and 5 deletions
|
@ -84,7 +84,7 @@ mod index;
|
|||
mod item;
|
||||
mod pat;
|
||||
mod path;
|
||||
mod stability;
|
||||
pub mod stability;
|
||||
|
||||
rustc_fluent_macro::fluent_messages! { "../messages.ftl" }
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue