pub(crate) fn source_file_to_buildfile(file: &Utf8Path) -> Result<Utf8PathBuf>
Expand description
rust-analyzer
associates workspaces with buildfiles. Therefore, when it passes in a
source file path, we use this function to identify the buildfile the file belongs to.