Skip to content

Commit

Permalink
Remove warnings in test program
Browse files Browse the repository at this point in the history
  • Loading branch information
asterite committed Dec 23, 2024
1 parent 1695b35 commit f6e2d0f
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ trait Trait1b {
self.trait_method2() * 2832 - self.vl()
}
fn trait_method2(self) -> Field {
let _ = self;
9323
}
fn vl(self) -> Field;
Expand Down Expand Up @@ -109,6 +110,7 @@ trait Trait1e {
self.trait_method2() * 85465 - self.vl()
}
fn trait_method2(self) -> Field {
let _ = self;
2381
}
fn vl(self) -> Field;
Expand Down Expand Up @@ -171,6 +173,7 @@ impl Trait1g for Struct1g {
trait Trait1h {
fn trait_method1(self) -> Field;
fn trait_method2(self) -> Field {
let _ = self;
7823
}
}
Expand Down Expand Up @@ -404,6 +407,7 @@ trait Trait3b {
b.trait_method2() * 9233 - b.vl() + a
}
fn trait_method2(self) -> Field {
let _ = self;
9111
}
fn vl(self) -> Field;
Expand Down Expand Up @@ -468,6 +472,7 @@ trait Trait3e {
b.trait_method2() * 71231 - b.vl() + a
}
fn trait_method2(self) -> Field {
let _ = self;
373
}
fn vl(self) -> Field;
Expand Down Expand Up @@ -530,6 +535,7 @@ impl Trait3g for Struct3g {
trait Trait3h {
fn trait_function1(a: Field, b: Self) -> Field;
fn trait_method2(self) -> Field {
let _ = self;
293
}
}
Expand Down

0 comments on commit f6e2d0f

Please sign in to comment.