aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/nameres.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir/src/nameres.rs')
-rw-r--r--crates/ra_hir/src/nameres.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/nameres.rs b/crates/ra_hir/src/nameres.rs
index edd2f25f7..e9235bc59 100644
--- a/crates/ra_hir/src/nameres.rs
+++ b/crates/ra_hir/src/nameres.rs
@@ -296,7 +296,7 @@ impl CrateDefMap {
296 // plain import or absolute path in 2015: crate-relative with 296 // plain import or absolute path in 2015: crate-relative with
297 // fallback to extern prelude (with the simplification in 297 // fallback to extern prelude (with the simplification in
298 // rust-lang/rust#57745) 298 // rust-lang/rust#57745)
299 // TODO there must be a nicer way to write this condition 299 // FIXME there must be a nicer way to write this condition
300 PathKind::Plain | PathKind::Abs 300 PathKind::Plain | PathKind::Abs
301 if self.edition == Edition::Edition2015 301 if self.edition == Edition::Edition2015
302 && (path.kind == PathKind::Abs || mode == ResolveMode::Import) => 302 && (path.kind == PathKind::Abs || mode == ResolveMode::Import) =>