pub fn setup_single_file_project(
db: &mut dyn SemanticGroup,
path: &Path,
) -> Result<CrateId, ProjectError>
Expand description
Set up the ‘db’ to compile the file at the given path. Returns the id of the generated crate.
pub fn setup_single_file_project(
db: &mut dyn SemanticGroup,
path: &Path,
) -> Result<CrateId, ProjectError>
Set up the ‘db’ to compile the file at the given path. Returns the id of the generated crate.