Skip to content

Commit 7a23725

Browse files
committed
Rename encode_info_for_generic_param to encode_info_for_ty_in_generic_param
1 parent b524ade commit 7a23725

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustc_metadata/encoder.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1308,11 +1308,11 @@ impl<'a, 'b: 'a, 'tcx: 'b> IsolatedEncoder<'a, 'b, 'tcx> {
13081308
}
13091309
}
13101310

1311-
fn encode_info_for_generic_param(
1311+
fn encode_info_for_ty_in_generic_param(
13121312
&mut self,
13131313
(def_id, Untracked(encode_type)): (DefId, Untracked<bool>),
13141314
) -> Entry<'tcx> {
1315-
debug!("IsolatedEncoder::encode_info_for_generic_param({:?})", def_id);
1315+
debug!("IsolatedEncoder::encode_info_for_ty_in_generic_param({:?})", def_id);
13161316
let tcx = self.tcx;
13171317
Entry {
13181318
kind: EntryKind::Type,
@@ -1690,7 +1690,7 @@ impl<'a, 'b, 'tcx> IndexBuilder<'a, 'b, 'tcx> {
16901690
let def_id = self.tcx.hir().local_def_id_from_hir_id(param.hir_id);
16911691
self.record(
16921692
def_id,
1693-
IsolatedEncoder::encode_info_for_generic_param,
1693+
IsolatedEncoder::encode_info_for_ty_in_generic_param,
16941694
(def_id, Untracked(encode_type)),
16951695
);
16961696
}

0 commit comments

Comments
 (0)