Skip to content

Commit 14b3bfb

Browse files
committed
internal/compiler: fix TypeLoader::new calls in benchmarks
1 parent 30a782b commit 14b3bfb

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/compiler/benches/semantic_analysis.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,6 @@ mod phase_breakdown {
397397
let mut diag = BuildDiagnostics::default();
398398
let config = CompilerConfiguration::new(i_slint_compiler::generator::OutputFormat::Rust);
399399
divan::black_box(i_slint_compiler::typeloader::TypeLoader::new(
400-
i_slint_compiler::typeregister::TypeRegister::builtin(),
401400
config,
402401
&mut diag,
403402
));
@@ -409,7 +408,6 @@ mod phase_breakdown {
409408
let mut diag = BuildDiagnostics::default();
410409
let config = CompilerConfiguration::new(i_slint_compiler::generator::OutputFormat::Rust);
411410
let mut loader = i_slint_compiler::typeloader::TypeLoader::new(
412-
i_slint_compiler::typeregister::TypeRegister::builtin(),
413411
config,
414412
&mut diag,
415413
);
@@ -460,7 +458,6 @@ mod phase_breakdown {
460458
let mut diag = BuildDiagnostics::default();
461459
let config = CompilerConfiguration::new(i_slint_compiler::generator::OutputFormat::Rust);
462460
let mut loader = i_slint_compiler::typeloader::TypeLoader::new(
463-
i_slint_compiler::typeregister::TypeRegister::builtin(),
464461
config,
465462
&mut diag,
466463
);
@@ -491,7 +488,6 @@ mod phase_breakdown {
491488
let mut diag = BuildDiagnostics::default();
492489
let config = CompilerConfiguration::new(i_slint_compiler::generator::OutputFormat::Rust);
493490
let mut loader = i_slint_compiler::typeloader::TypeLoader::new(
494-
i_slint_compiler::typeregister::TypeRegister::builtin(),
495491
config,
496492
&mut diag,
497493
);
@@ -528,7 +524,6 @@ mod phase_breakdown {
528524
let mut diag = BuildDiagnostics::default();
529525
let config = CompilerConfiguration::new(i_slint_compiler::generator::OutputFormat::Rust);
530526
let mut loader = i_slint_compiler::typeloader::TypeLoader::new(
531-
i_slint_compiler::typeregister::TypeRegister::builtin(),
532527
config,
533528
&mut diag,
534529
);

0 commit comments

Comments
 (0)