@@ -1778,8 +1778,8 @@ expParseError (Spanned t _, exps) = fail $ "Syntax error: unexpected `" ++ show
1778
1778
| rep `isSubsequenceOf` es = go (es \\ rep) (msg : msgs) rs
1779
1779
| otherwise = go es msgs rs
1780
1780
1781
- ignore = words " ntItem ntBlock ntStmt ntPat ntExpr ntTy ntIdent ntPath ntTT \
1782
- ntArm ntImplItem ntTraitItem ntGenerics ntWhereClause ntArg ntLit"
1781
+ ignore = words " ntItem ntBlock ntStmt ntPat ntExpr ntTy ntIdent ntPath ntTT" ++
1782
+ words " ntArm ntImplItem ntTraitItem ntGenerics ntWhereClause ntArg ntLit"
1783
1783
1784
1784
replacements = map (\(ks,v) -> (sort ks,v)) $
1785
1785
[ (expr, " an expression" )
@@ -1805,11 +1805,11 @@ expParseError (Spanned t _, exps) = fail $ "Syntax error: unexpected `" ++ show
1805
1805
1806
1806
expr :: [String]
1807
1807
expr = lit ++ identifier ++ lifetime ++
1808
- words " '<' '!' '-' '*' '&' '|' '...' '..=' '..' '::' \
1809
- '||' '&&' '<<' '(' '[' '{' box break continue \
1810
- for if loop match move return Self self \
1811
- static super unsafe while do default union \
1812
- catch auto yield dyn"
1808
+ words " '<' '!' '-' '*' '&' '|' '...' '..=' '..' '::'" ++
1809
+ words " '||' '&&' '<<' '(' '[' '{' box break continue" ++
1810
+ words " for if loop match move return Self self " ++
1811
+ words " static super unsafe while do default union " ++
1812
+ words " catch auto yield dyn"
1813
1813
1814
1814
lit = boolLit ++ byteLit ++ charLit ++ intLit ++ floatLit ++ strLit ++
1815
1815
byteStrLit ++ rawStrLit ++ rawByteStrLit
0 commit comments