We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22d41ae commit 7a653feCopy full SHA for 7a653fe
compiler/rustc_smir/src/stable_mir/mod.rs
@@ -109,14 +109,6 @@ pub fn trait_impl(trait_impl: &ImplDef) -> ImplTrait {
109
with(|cx| cx.trait_impl(trait_impl))
110
}
111
112
-pub fn generics_of(generic_def: &GenericDef) -> Generics {
113
- with(|cx| cx.generics_of(generic_def))
114
-}
115
-
116
-pub fn predicates_of(trait_def: &TraitDef) -> GenericPredicates {
117
- with(|cx| cx.predicates_of(trait_def))
118
119
120
pub trait Context {
121
fn entry_fn(&mut self) -> Option<CrateItem>;
122
/// Retrieve all items of the local crate that have a MIR associated with them.
0 commit comments