mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Remove the ability to configure the user config path
This commit is contained in:
parent
3c4cdbbd1a
commit
fd3fce2600
9 changed files with 81 additions and 66 deletions
|
@ -313,6 +313,20 @@ impl fmt::Debug for VfsPathRepr {
|
|||
}
|
||||
}
|
||||
|
||||
impl PartialEq<AbsPath> for VfsPath {
|
||||
fn eq(&self, other: &AbsPath) -> bool {
|
||||
match &self.0 {
|
||||
VfsPathRepr::PathBuf(lhs) => lhs == other,
|
||||
VfsPathRepr::VirtualPath(_) => false,
|
||||
}
|
||||
}
|
||||
}
|
||||
impl PartialEq<VfsPath> for AbsPath {
|
||||
fn eq(&self, other: &VfsPath) -> bool {
|
||||
other == self
|
||||
}
|
||||
}
|
||||
|
||||
/// `/`-separated virtual path.
|
||||
///
|
||||
/// This is used to describe files that do not reside on the file system.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue