Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/base-db/src/editioned_file_id.rs')
-rw-r--r--crates/base-db/src/editioned_file_id.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/base-db/src/editioned_file_id.rs b/crates/base-db/src/editioned_file_id.rs
index e2791ffe6f..13fb05d565 100644
--- a/crates/base-db/src/editioned_file_id.rs
+++ b/crates/base-db/src/editioned_file_id.rs
@@ -26,6 +26,9 @@ const _: () = {
krate: Crate,
}
+ // FIXME: This poses an invalidation problem, if one constructs an `EditionedFileId` with a
+ // different crate then whatever the input of a memo used, it will invalidate the memo causing
+ // it to recompute even if the crate is not really used.
/// We like to include the origin crate in an `EditionedFileId` (for use in the item tree),
/// but this poses us a problem.
///