Skip to content

Commit

Permalink
Auto merge of rust-lang#15925 - lnicola:pathres-nodebug, r=lnicola
Browse files Browse the repository at this point in the history
internal: Remove debugging code in path resolution

Closes rust-lang#15924
  • Loading branch information
bors committed Nov 17, 2023
2 parents bc97821 + a54c0da commit 255eed4
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions crates/hir-def/src/nameres/path_resolution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,15 +183,6 @@ impl DefMap {
shadow: BuiltinShadowMode,
expected_macro_subns: Option<MacroSubNs>,
) -> ResolvePathResult {
let graph = db.crate_graph();
let _cx = stdx::panic_context::enter(format!(
"DefMap {:?} crate_name={:?} block={:?} path={}",
self.krate,
graph[self.krate].display_name,
self.block,
path.display(db.upcast())
));

let mut segments = path.segments().iter().enumerate();
let mut curr_per_ns = match path.kind {
PathKind::DollarCrate(krate) => {
Expand Down

0 comments on commit 255eed4

Please sign in to comment.