From 1bef68e8767c3f4d18d43b05b52e87dbfec479c6 Mon Sep 17 00:00:00 2001 From: OmarTawfik <15987992+OmarTawfik@users.noreply.github.com> Date: Thu, 26 Dec 2024 22:30:21 -0800 Subject: [PATCH] fix ci --- .../codegen/runtime/cargo/crate/src/runtime/bindings/mod.rs | 2 +- .../outputs/cargo/crate/src/generated/bindings/mod.rs | 2 +- .../outputs/cargo/tests/src/bindings_output/renderer.rs | 4 ++-- .../outputs/cargo/crate/src/generated/bindings/mod.rs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/codegen/runtime/cargo/crate/src/runtime/bindings/mod.rs b/crates/codegen/runtime/cargo/crate/src/runtime/bindings/mod.rs index 048706f922..052c6ba4f2 100644 --- a/crates/codegen/runtime/cargo/crate/src/runtime/bindings/mod.rs +++ b/crates/codegen/runtime/cargo/crate/src/runtime/bindings/mod.rs @@ -30,7 +30,7 @@ pub enum BindingGraphInitializationError { pub fn create_with_resolver( version: Version, resolver: Rc>, -) -> Result { +) -> Result { let mut binding_graph = BindingGraphBuilder::create( version.clone(), binding_rules::BINDING_RULES_SOURCE, diff --git a/crates/solidity/outputs/cargo/crate/src/generated/bindings/mod.rs b/crates/solidity/outputs/cargo/crate/src/generated/bindings/mod.rs index 5eb567155b..1bca6fa67e 100644 --- a/crates/solidity/outputs/cargo/crate/src/generated/bindings/mod.rs +++ b/crates/solidity/outputs/cargo/crate/src/generated/bindings/mod.rs @@ -32,7 +32,7 @@ pub enum BindingGraphInitializationError { pub fn create_with_resolver( version: Version, resolver: Rc>, -) -> Result { +) -> Result { let mut binding_graph = BindingGraphBuilder::create( version.clone(), binding_rules::BINDING_RULES_SOURCE, diff --git a/crates/solidity/outputs/cargo/tests/src/bindings_output/renderer.rs b/crates/solidity/outputs/cargo/tests/src/bindings_output/renderer.rs index 634de833af..1b18c8d0b7 100644 --- a/crates/solidity/outputs/cargo/tests/src/bindings_output/renderer.rs +++ b/crates/solidity/outputs/cargo/tests/src/bindings_output/renderer.rs @@ -94,7 +94,7 @@ impl ParsedPart<'_> { fn check_bindings_coverage<'a>( part: &'a ParsedPart<'a>, - binding_graph: &'a BindingGraph, + binding_graph: &Rc, ) -> (Report<'a, ReportSpan<'a>>, bool) { let mut all_identifiers_bound = true; let mut builder: ReportBuilder<'_, ReportSpan<'_>> = Report::build( @@ -219,7 +219,7 @@ fn build_report_for_part<'a>( fn build_definiens_report<'a>( part: &'a ParsedPart<'a>, - all_definitions: &'a [Definition<'a>], + all_definitions: &'a [Definition], ) -> Report<'a, ReportSpan<'a>> { let mut builder: ReportBuilder<'_, ReportSpan<'_>> = Report::build(ReportKind::Custom("Definiens", Color::Unset), part.path, 0) diff --git a/crates/testlang/outputs/cargo/crate/src/generated/bindings/mod.rs b/crates/testlang/outputs/cargo/crate/src/generated/bindings/mod.rs index 5eb567155b..1bca6fa67e 100644 --- a/crates/testlang/outputs/cargo/crate/src/generated/bindings/mod.rs +++ b/crates/testlang/outputs/cargo/crate/src/generated/bindings/mod.rs @@ -32,7 +32,7 @@ pub enum BindingGraphInitializationError { pub fn create_with_resolver( version: Version, resolver: Rc>, -) -> Result { +) -> Result { let mut binding_graph = BindingGraphBuilder::create( version.clone(), binding_rules::BINDING_RULES_SOURCE,