Skip to content

Commit 7a2dc26

Browse files
committed
Remove debugging.
1 parent 959b228 commit 7a2dc26

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

compiler/rustc_span/src/hygiene.rs

+3-6
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,9 @@ impl LocalExpnId {
192192
}
193193

194194
/// This method is an implementation detail of `TyCtxt::create_expn`.
195-
#[instrument(level = "trace", skip(ctx), ret)]
196195
pub fn create_untracked_expn(
197196
mut expn_data: ExpnData,
198-
hash_extra: impl Hash + Copy + fmt::Debug,
197+
hash_extra: impl Hash + Copy,
199198
ctx: impl HashStableContext,
200199
disambiguation_map: &Lock<UnhashMap<Hash64, u32>>,
201200
) -> LocalExpnId {
@@ -215,11 +214,10 @@ impl LocalExpnId {
215214

216215
/// Implementation detail of `TyCtxt::finalize_expn`.
217216
#[inline]
218-
#[instrument(level = "trace", skip(ctx))]
219217
pub fn set_untracked_expn_data(
220218
self,
221219
mut expn_data: ExpnData,
222-
hash_extra: impl Hash + Copy + fmt::Debug,
220+
hash_extra: impl Hash + Copy,
223221
ctx: impl HashStableContext,
224222
disambiguation_map: &Lock<UnhashMap<Hash64, u32>>,
225223
) {
@@ -1462,10 +1460,9 @@ impl<D: Decoder> Decodable<D> for SyntaxContext {
14621460
/// `set_expn_data`). It is *not* called for foreign `ExpnId`s deserialized
14631461
/// from another crate's metadata - since `ExpnHash` includes the stable crate id,
14641462
/// collisions are only possible between `ExpnId`s within the same crate.
1465-
#[instrument(level = "trace", skip(ctx), ret)]
14661463
fn update_disambiguator(
14671464
expn_data: &mut ExpnData,
1468-
hash_extra: impl Hash + Copy + fmt::Debug,
1465+
hash_extra: impl Hash + Copy,
14691466
mut ctx: impl HashStableContext,
14701467
disambiguation_map: &Lock<UnhashMap<Hash64, u32>>,
14711468
) -> ExpnHash {

0 commit comments

Comments
 (0)