Skip to content

Commit 255eed4

Browse files
committed
Auto merge of #15925 - lnicola:pathres-nodebug, r=lnicola
internal: Remove debugging code in path resolution Closes #15924
2 parents bc97821 + a54c0da commit 255eed4

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

crates/hir-def/src/nameres/path_resolution.rs

-9
Original file line numberDiff line numberDiff line change
@@ -183,15 +183,6 @@ impl DefMap {
183183
shadow: BuiltinShadowMode,
184184
expected_macro_subns: Option<MacroSubNs>,
185185
) -> ResolvePathResult {
186-
let graph = db.crate_graph();
187-
let _cx = stdx::panic_context::enter(format!(
188-
"DefMap {:?} crate_name={:?} block={:?} path={}",
189-
self.krate,
190-
graph[self.krate].display_name,
191-
self.block,
192-
path.display(db.upcast())
193-
));
194-
195186
let mut segments = path.segments().iter().enumerate();
196187
let mut curr_per_ns = match path.kind {
197188
PathKind::DollarCrate(krate) => {

0 commit comments

Comments
 (0)