File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2814,22 +2814,22 @@ impl<'a> Parser<'a> {
2814
2814
2815
2815
let rhs = try!( match op. fixity ( ) {
2816
2816
Fixity :: Right => self . with_res (
2817
- restrictions & ! Restrictions :: RESTRICTION_STMT_EXPR ,
2818
- |this|{
2817
+ restrictions - Restrictions :: RESTRICTION_STMT_EXPR ,
2818
+ |this| {
2819
2819
this. parse_assoc_expr_with ( op. precedence ( ) ,
2820
- LhsExpr :: NotYetParsed )
2820
+ LhsExpr :: NotYetParsed )
2821
2821
} ) ,
2822
2822
Fixity :: Left => self . with_res (
2823
- restrictions & ! Restrictions :: RESTRICTION_STMT_EXPR ,
2824
- |this|{
2823
+ restrictions - Restrictions :: RESTRICTION_STMT_EXPR ,
2824
+ |this| {
2825
2825
this. parse_assoc_expr_with ( op. precedence ( ) + 1 ,
2826
2826
LhsExpr :: NotYetParsed )
2827
2827
} ) ,
2828
2828
// We currently have no non-associative operators that are not handled above by
2829
2829
// the special cases. The code is here only for future convenience.
2830
2830
Fixity :: None => self . with_res (
2831
- restrictions & ! Restrictions :: RESTRICTION_STMT_EXPR ,
2832
- |this|{
2831
+ restrictions - Restrictions :: RESTRICTION_STMT_EXPR ,
2832
+ |this| {
2833
2833
this. parse_assoc_expr_with ( op. precedence ( ) + 1 ,
2834
2834
LhsExpr :: NotYetParsed )
2835
2835
} ) ,
You can’t perform that action at this time.
0 commit comments