mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
fix: Syntax fixup now removes subtrees with fake spans
This commit is contained in:
parent
96f660813c
commit
4c45d23948
5 changed files with 54 additions and 14 deletions
|
@ -1354,6 +1354,7 @@ impl Config {
|
|||
}
|
||||
}
|
||||
|
||||
// FIXME: This should be an AbsolutePathBuf
|
||||
fn target_dir_from_config(&self) -> Option<PathBuf> {
|
||||
self.data.rust_analyzerTargetDir.as_ref().and_then(|target_dir| match target_dir {
|
||||
TargetDirectory::UseSubdirectory(yes) if *yes => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue