mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Remove debugging code in path resolution
This commit is contained in:
parent
bc978217b3
commit
a54c0dafc8
1 changed files with 0 additions and 9 deletions
|
@ -183,15 +183,6 @@ impl DefMap {
|
||||||
shadow: BuiltinShadowMode,
|
shadow: BuiltinShadowMode,
|
||||||
expected_macro_subns: Option<MacroSubNs>,
|
expected_macro_subns: Option<MacroSubNs>,
|
||||||
) -> ResolvePathResult {
|
) -> 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 segments = path.segments().iter().enumerate();
|
||||||
let mut curr_per_ns = match path.kind {
|
let mut curr_per_ns = match path.kind {
|
||||||
PathKind::DollarCrate(krate) => {
|
PathKind::DollarCrate(krate) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue