Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9476fa2

Browse files
committedApr 3, 2025·
Replace println! with debug! for logging in resolve_bound_vars.rs
1 parent f3bfb47 commit 9476fa2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎compiler/rustc_hir_analysis/src/collect/resolve_bound_vars.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1312,8 +1312,8 @@ impl<'a, 'tcx> BoundVarContext<'a, 'tcx> {
13121312
deny_late_types_and_consts,
13131313
} => {
13141314
// For debugging purposes
1315-
println!(
1316-
"DEBUG: LateBoundary in resolve_type_ref - what: {}, deny_late_types_and_consts: {}",
1315+
debug!(
1316+
"LateBoundary in resolve_type_ref - what: {}, deny_late_types_and_consts: {}",
13171317
what, deny_late_types_and_consts
13181318
);
13191319
if deny_late_types_and_consts {
@@ -1542,8 +1542,8 @@ impl<'a, 'tcx> BoundVarContext<'a, 'tcx> {
15421542
deny_late_types_and_consts,
15431543
} => {
15441544
// For debugging purposes
1545-
println!(
1546-
"DEBUG: LateBoundary in resolve_type_ref - what: {}, deny_late_types_and_consts: {}",
1545+
debug!(
1546+
"LateBoundary in resolve_type_ref - what: {}, deny_late_types_and_consts: {}",
15471547
what, deny_late_types_and_consts
15481548
);
15491549
if deny_late_types_and_consts {

0 commit comments

Comments
 (0)
Please sign in to comment.