File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -202,6 +202,7 @@ macro_rules! parse_with {
202202 } ( )
203203 } } ;
204204}
205+ #[ allow( unused_imports) ] // This is used below, but clippy doesn't seem to detect it
205206use parse_with;
206207
207208/// Parses the input creating an abstract syntax tree
Original file line number Diff line number Diff line change @@ -107,16 +107,16 @@ pub enum Expr {
107107 /// Operation to perform
108108 op : Spanned < UnaryOp > ,
109109 /// Operand to perform the operation on
110- operand : Box < Spanned < Expr > > ,
110+ operand : Box < Spanned < Self > > ,
111111 } ,
112112 /// Binary operation on other expressions
113113 BinaryOp {
114114 /// Operation to perform
115115 op : Spanned < BinaryOp > ,
116116 /// Left operand of the operation
117- lhs : Box < Spanned < Expr > > ,
117+ lhs : Box < Spanned < Self > > ,
118118 /// Right operand of the operation
119- rhs : Box < Spanned < Expr > > ,
119+ rhs : Box < Spanned < Self > > ,
120120 } ,
121121}
122122
You can’t perform that action at this time.
0 commit comments