Skip to content

Commit 8cf14a3

Browse files
committed
remove extraneous pub(crate)
1 parent 805904b commit 8cf14a3

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_typeck/src/check/fn_ctxt

1 file changed

+1
-1
lines changed

compiler/rustc_typeck/src/check/fn_ctxt/checks.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
895895
expr.span
896896
}
897897

898-
pub(crate) fn overwrite_local_ty_if_err(
898+
fn overwrite_local_ty_if_err(
899899
&self,
900900
hir_id: hir::HirId,
901901
pat: &'tcx hir::Pat<'tcx>,

0 commit comments

Comments
 (0)