mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 01:28:18 +03:00
Remove stable_mir::generics_of/predicates_of those shouldn't be exposed
This commit is contained in:
@@ -109,14 +109,6 @@ pub fn trait_impl(trait_impl: &ImplDef) -> ImplTrait {
|
||||
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 {
|
||||
fn entry_fn(&mut self) -> Option<CrateItem>;
|
||||
/// Retrieve all items of the local crate that have a MIR associated with them.
|
||||
|
||||
Reference in New Issue
Block a user