Resolving conflicts with master

This commit is contained in:
Pranav Gaddamadugu 2021-09-24 17:12:58 -07:00
parent 94498179db
commit a128d367ff
2 changed files with 0 additions and 28 deletions

View File

@ -43,15 +43,3 @@ pub struct AstSnapshotOptions {
pub canonicalized: bool,
pub type_inferenced: bool,
}
impl Default for AstSnapshotOptions {
fn default() -> Self {
Self {
spans_enabled: false,
initial: false,
imports_resolved: false,
canonicalized: false,
type_inferenced: false,
}
}
}

View File

@ -57,22 +57,6 @@ pub struct BuildOptions {
pub enable_type_inferenced_ast_snapshot: bool,
}
impl Default for BuildOptions {
fn default() -> Self {
Self {
disable_constant_folding: false,
disable_code_elimination: false,
disable_all_optimizations: false,
enable_spans: false,
enable_all_ast_snapshots: false,
enable_initial_ast_snapshot: false,
enable_imports_resolved_ast_snapshot: false,
enable_canonicalized_ast_snapshot: false,
enable_type_inferenced_ast_snapshot: false,
}
}
}
impl From<BuildOptions> for CompilerOptions {
fn from(options: BuildOptions) -> Self {
if options.disable_all_optimizations {