mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 13:33:31 +00:00
Auto merge of #15925 - lnicola:pathres-nodebug, r=lnicola
internal: Remove debugging code in path resolution Closes #15924
This commit is contained in:
commit
255eed40c4
1 changed files with 0 additions and 9 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue