make InheritedBuilder::enter public
This commit is contained in:
parent
5565c1a1ca
commit
0c37239e0e
@ -648,7 +648,7 @@ pub fn build(tcx: TyCtxt<'tcx>, def_id: LocalDefId) -> InheritedBuilder<'tcx> {
|
||||
}
|
||||
|
||||
impl<'tcx> InheritedBuilder<'tcx> {
|
||||
fn enter<F, R>(&mut self, f: F) -> R
|
||||
pub fn enter<F, R>(&mut self, f: F) -> R
|
||||
where
|
||||
F: for<'a> FnOnce(Inherited<'a, 'tcx>) -> R,
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user