Skip to content

Commit

Permalink
Make relate_type_and_mut public
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Jun 10, 2021
1 parent eab201d commit 3607857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/ty/relate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ pub trait Relate<'tcx>: TypeFoldable<'tcx> + Copy {
///////////////////////////////////////////////////////////////////////////
// Relate impls

fn relate_type_and_mut<'tcx, R: TypeRelation<'tcx>>(
pub fn relate_type_and_mut<'tcx, R: TypeRelation<'tcx>>(
relation: &mut R,
a: ty::TypeAndMut<'tcx>,
b: ty::TypeAndMut<'tcx>,
Expand Down

0 comments on commit 3607857

Please sign in to comment.