-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Failed to resolve module name with raw name #1211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
some problem. |
Some pointers: The relevant function is here: It doesn't handle raw identifiers and |
Oh, and example tests for modules are here: We are going to extend this logic a bit, so it makes sense to move this tests and all new tests in a new test submodule, |
1478: [WIP] Added resolve submodules with raw name r=matklad a=andreevlex #1211 Co-authored-by: Alexander Andreev <[email protected]>
|
https://doc.rust-lang.org/reference/items/modules.html#the-path-attribute IntelliJ test suite might be useful as well: |
after #1499 need more support
|
1499: processing attribute #[path] of module r=matklad a=andreevlex support two cases - simple name file `foo.rs` - declaration in mod.rs #1211 Co-authored-by: Alexander Andreev <[email protected]>
1528: More resolution modules with attribute path r=matklad a=andreevlex #1211 Co-authored-by: Alexander Andreev <[email protected]>
this issue complete. |
I have file/module with name
match
and rust-analyzer fails to find it:The text was updated successfully, but these errors were encountered: