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