Skip to content

Commit d716dc9

Browse files
committed
Remove useless debugging.
1 parent 3301ac5 commit d716dc9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler/rustc_passes/src/stability.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ use rustc_middle::ty::print::with_no_trimmed_paths;
2525
use rustc_session::lint;
2626
use rustc_session::lint::builtin::{DEPRECATED, INEFFECTIVE_UNSTABLE_TRAIT_IMPL};
2727
use rustc_span::{Span, Symbol, sym};
28-
use tracing::{info, instrument};
28+
use tracing::instrument;
2929

3030
use crate::errors;
3131

@@ -148,7 +148,6 @@ fn lookup_deprecation_entry(tcx: TyCtxt<'_>, def_id: LocalDefId) -> Option<Depre
148148
if inherit_deprecation(tcx.def_kind(def_id)).yes() {
149149
let parent_id = tcx.opt_local_parent(def_id)?;
150150
let parent_depr = tcx.lookup_deprecation_entry(parent_id)?;
151-
info!("tagging child {:?} as deprecated from parent", def_id);
152151
return Some(parent_depr);
153152
}
154153

0 commit comments

Comments
 (0)