mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-07-30 20:11:23 +00:00
Guarantee that we inherit the correct variable type.
This commit is contained in:
@@ -95,7 +95,7 @@ pub trait ConstraintSystem<E: Engine>: Sized {
|
||||
|
||||
/// Represents the type of the "root" of this constraint system
|
||||
/// so that nested namespaces can minimize indirection.
|
||||
type Root: ConstraintSystem<E>;
|
||||
type Root: ConstraintSystem<E, Variable=Self::Variable>;
|
||||
|
||||
/// Return the "one" input variable
|
||||
fn one(&self) -> Self::Variable;
|
||||
|
Reference in New Issue
Block a user