You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
While addressing a FIXME related to autofix detection in unlinked_file, I noticed that some files are incorrectly marked as unlinked due to what seems to be a ghost crate detection issue. This occurs when a file appears to belong to a crate but isn’t properly linked to a valid root (main.rs or lib.rs).
Key Observations:
is_in_crate = true, is_crate_root = false, but is_unlinked = false, yet autofix suggestions still appear.
Some files seem to be falsely classified as part of a crate even if they lack a proper root.
Modifying crate detection logic affects multiple tests, suggesting intentional behavior (e.g., for VS Code extension).
Description:
While addressing a FIXME related to autofix detection in
unlinked_file
, I noticed that some files are incorrectly marked as unlinked due to what seems to be a ghost crate detection issue. This occurs when a file appears to belong to a crate but isn’t properly linked to a valid root (main.rs
orlib.rs
).Key Observations:
is_in_crate = true
,is_crate_root = false
, butis_unlinked = false
, yet autofix suggestions still appear.Current Status & Next Steps:
Logs & Test Output:
(See PR for details)
Would appreciate any insights on how best to resolve this while maintaining expected behavior. Thanks !
The text was updated successfully, but these errors were encountered: