mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-02 04:48:13 +00:00
fix: unescape inline module names in module resolution
This commit is contained in:
parent
643bc02ded
commit
21ea0048cd
2 changed files with 38 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ impl ModDir {
|
|||
let path = match attr_path.map(SmolStr::as_str) {
|
||||
None => {
|
||||
let mut path = self.dir_path.clone();
|
||||
path.push(&name.to_smol_str());
|
||||
path.push(&name.unescaped().to_smol_str());
|
||||
path
|
||||
}
|
||||
Some(attr_path) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue