about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2024-08-23 11:05:25 +0200
committerGitHub <noreply@github.com>2024-08-23 11:05:25 +0200
commit916c5598903702f321c746f18213e0ccacd5a0e2 (patch)
treeee4204ff56384595e950c4db5fd0a4ac0dbb6607
parent3f89eebd20955edf89477f72e99fbf9ab0efc936 (diff)
downloadrust-916c5598903702f321c746f18213e0ccacd5a0e2.tar.gz
rust-916c5598903702f321c746f18213e0ccacd5a0e2.zip
Remove incorrect FIXME comment
-rw-r--r--src/tools/rust-analyzer/crates/hir-def/src/nameres.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/crates/hir-def/src/nameres.rs b/src/tools/rust-analyzer/crates/hir-def/src/nameres.rs
index cd8db00c8b2..db45f6bed66 100644
--- a/src/tools/rust-analyzer/crates/hir-def/src/nameres.rs
+++ b/src/tools/rust-analyzer/crates/hir-def/src/nameres.rs
@@ -461,7 +461,6 @@ impl DefMap {
                 break;
             }
         }
-        // FIXME: crate_name should be non-optional but we don't pass the name through yet
         parts.push(match &self.data.crate_name {
             Some(name) => name.clone(),
             None => sym::crate_.clone(),