Remove stable_mir::generics_of/predicates_of those shouldn't be exposed
This commit is contained in:
parent
22d41ae90f
commit
7a653feffb
1 changed files with 0 additions and 8 deletions
|
@ -109,14 +109,6 @@ pub fn trait_impl(trait_impl: &ImplDef) -> ImplTrait {
|
||||||
with(|cx| cx.trait_impl(trait_impl))
|
with(|cx| cx.trait_impl(trait_impl))
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn generics_of(generic_def: &GenericDef) -> Generics {
|
|
||||||
with(|cx| cx.generics_of(generic_def))
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn predicates_of(trait_def: &TraitDef) -> GenericPredicates {
|
|
||||||
with(|cx| cx.predicates_of(trait_def))
|
|
||||||
}
|
|
||||||
|
|
||||||
pub trait Context {
|
pub trait Context {
|
||||||
fn entry_fn(&mut self) -> Option<CrateItem>;
|
fn entry_fn(&mut self) -> Option<CrateItem>;
|
||||||
/// Retrieve all items of the local crate that have a MIR associated with them.
|
/// Retrieve all items of the local crate that have a MIR associated with them.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue