Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 0c37239

Browse files
committed
make InheritedBuilder::enter public
1 parent 5565c1a commit 0c37239

File tree

1 file changed

+1
-1
lines changed
  • src/librustc_typeck/check

1 file changed

+1
-1
lines changed

src/librustc_typeck/check/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ impl Inherited<'_, 'tcx> {
648648
}
649649

650650
impl<'tcx> InheritedBuilder<'tcx> {
651-
fn enter<F, R>(&mut self, f: F) -> R
651+
pub fn enter<F, R>(&mut self, f: F) -> R
652652
where
653653
F: for<'a> FnOnce(Inherited<'a, 'tcx>) -> R,
654654
{

0 commit comments

Comments
 (0)