corrode
corrode copied to clipboard
Build failed
src/Language/Rust/AST.hs:29:36: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.<>’, imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24 (and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.HughesPJClass.<>’, imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37 (and originally defined in ‘Text.PrettyPrint.HughesPJ’) | 29 | pPrint (Lifetime s) = text "'" <> text s | ^^
src/Language/Rust/AST.hs:89:32: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.<>’, imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24 (and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.HughesPJClass.<>’, imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37 (and originally defined in ‘Text.PrettyPrint.HughesPJ’) | 89 | pPrint (Stmt e) = pPrint e <> text ";" | ^^
src/Language/Rust/AST.hs:94:11: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.<>’, imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24 (and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.HughesPJClass.<>’, imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37 (and originally defined in ‘Text.PrettyPrint.HughesPJ’) | 94 | ] <> text ";" | ^^
src/Language/Rust/AST.hs:96:21: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.<>’, imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24 (and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.HughesPJClass.<>’, imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37 (and originally defined in ‘Text.PrettyPrint.HughesPJ’) | 96 | [ text "#[" <> text attr <> text "]" | Attribute attr <- attrs ] ++ [pPrint k] | ^^
src/Language/Rust/AST.hs:96:34: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.<>’, imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24 (and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.HughesPJClass.<>’, imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37 (and originally defined in ‘Text.PrettyPrint.HughesPJ’) | 96 | [ text "#[" <> text attr <> text "]" | Attribute attr <- attrs ] ++ [pPrint k] | ^^
src/Language/Rust/AST.hs:112:21: error:
Ambiguous occurrence ‘<>’
It could refer to
either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24
(and originally defined in ‘GHC.Base’)
or ‘Text.PrettyPrint.HughesPJClass.<>’,
imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37
(and originally defined in ‘Text.PrettyPrint.HughesPJ’)
|
112 | [ text "#[" <> text attr <> text "]" | Attribute attr <- attrs ] ++ | ^^
src/Language/Rust/AST.hs:112:34: error:
Ambiguous occurrence ‘<>’ It could refer to
either ‘Prelude.<>’, imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24
(and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.HughesPJClass.<>’,
imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37 (and originally defined in ‘Text.PrettyPrint.HughesPJ’)
| 112 | [ text "#[" <> text attr <> text "]" | Attribute attr <- attrs ] ++
| ^^
src/Language/Rust/AST.hs:113:66: error: Ambiguous occurrence ‘<>’
It could refer to either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24 (and originally defined in ‘GHC.Base’)
or ‘Text.PrettyPrint.HughesPJClass.<>’, imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37
(and originally defined in ‘Text.PrettyPrint.HughesPJ’) |
113 | [(if vis == Public then zeroWidthText "pub " else empty) <> pPrint k] | ^^
src/Language/Rust/AST.hs:136:11: error:
Precedence parsing error cannot mix ‘<+>’ [infixl 6] and ‘Prelude.<>’ [infixr 6] in the same infix expression
| 136 | [ hsep (map pPrint attrs) <+> text "fn" <+> text nm <> text "("
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Language/Rust/AST.hs:136:61: error: Ambiguous occurrence ‘<>’
It could refer to either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24 (and originally defined in ‘GHC.Base’)
or ‘Text.PrettyPrint.HughesPJClass.<>’, imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37
(and originally defined in ‘Text.PrettyPrint.HughesPJ’) |
136 | [ hsep (map pPrint attrs) <+> text "fn" <+> text nm <> text "(" | ^^
src/Language/Rust/AST.hs:145:11: error:
Ambiguous occurrence ‘<>’ It could refer to
either ‘Prelude.<>’, imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24
(and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.HughesPJClass.<>’,
imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37 (and originally defined in ‘Text.PrettyPrint.HughesPJ’)
| 145 | ] <> text ";"
| ^^
src/Language/Rust/AST.hs:148:24: error: Precedence parsing error
cannot mix ‘<+>’ [infixl 6] and ‘Prelude.<>’ [infixr 6] in the same infix expression |
148 | nest 4 (vcat [ text "pub" <+> text field <+> text ":" <+> pPrint ty <> text "," | (field, ty) <- fields ]) $+$
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Language/Rust/AST.hs:148:77: error: Ambiguous occurrence ‘<>’
It could refer to either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24 (and originally defined in ‘GHC.Base’)
or ‘Text.PrettyPrint.HughesPJClass.<>’, imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37
(and originally defined in ‘Text.PrettyPrint.HughesPJ’) |
148 | nest 4 (vcat [ text "pub" <+> text field <+> text ":" <+> pPrint ty <> text "," | (field, ty) <- fields ]) $+$
| ^^
src/Language/Rust/AST.hs:155:25: error: Precedence parsing error
cannot mix ‘<+>’ [infixl 6] and ‘Prelude.<>’ [infixr 6] in the same infix expression |
155 | pPrint (Use path) = text "use" <+> text path <> text ";" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Language/Rust/AST.hs:155:50: error:
Ambiguous occurrence ‘<>’ It could refer to
either ‘Prelude.<>’, imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24
(and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.HughesPJClass.<>’,
imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37 (and originally defined in ‘Text.PrettyPrint.HughesPJ’)
| 155 | pPrint (Use path) = text "use" <+> text path <> text ";"
| ^^
src/Language/Rust/AST.hs:158:36: error: Ambiguous occurrence ‘<>’
It could refer to either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24 (and originally defined in ‘GHC.Base’)
or ‘Text.PrettyPrint.HughesPJClass.<>’, imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37
(and originally defined in ‘Text.PrettyPrint.HughesPJ’) |
158 | nest 4 (vcat [ pPrint enum <> text "," | enum <- enums ]) $+$ | ^^
src/Language/Rust/AST.hs:164:32: error:
Ambiguous occurrence ‘<>’ It could refer to
either ‘Prelude.<>’, imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24
(and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.HughesPJClass.<>’,
imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37 (and originally defined in ‘Text.PrettyPrint.HughesPJ’)
| 164 | , text "clone" <> parens (text "&self")
| ^^
src/Language/Rust/AST.hs:180:11: error: Precedence parsing error
cannot mix ‘<+>’ [infixl 6] and ‘Prelude.<>’ [infixr 6] in the same infix expression |
180 | [ text "fn" <+> text nm <> text "(" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Language/Rust/AST.hs:180:33: error:
Ambiguous occurrence ‘<>’ It could refer to
either ‘Prelude.<>’, imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24
(and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.HughesPJClass.<>’,
imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37 (and originally defined in ‘Text.PrettyPrint.HughesPJ’)
| 180 | [ text "fn" <+> text nm <> text "("
| ^^
src/Language/Rust/AST.hs:185:11: error: Precedence parsing error
cannot mix ‘<+>’ [infixl 6] and ‘Prelude.<>’ [infixr 6] in the same infix expression |
185 | , text ")" <+> (if ret == TypeName "()" then empty else text "->" <+> pPrint ret) <> text ";"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Language/Rust/AST.hs:185:91: error:
Ambiguous occurrence ‘<>’ It could refer to
either ‘Prelude.<>’, imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24
(and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.HughesPJClass.<>’,
imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37
(and originally defined in ‘Text.PrettyPrint.HughesPJ’)
| 185 | , text ")" <+> (if ret == TypeName "()" then empty else text "->" <+> pPrint ret) <> text ";" | ^^
src/Language/Rust/AST.hs:193:11: error:
Ambiguous occurrence ‘<>’ It could refer to
either ‘Prelude.<>’, imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24
(and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.HughesPJClass.<>’,
imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37 (and originally defined in ‘Text.PrettyPrint.HughesPJ’)
| 193 | ] <> text ";"
| ^^
src/Language/Rust/AST.hs:305:62: error: Ambiguous occurrence ‘<>’
It could refer to either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24 (and originally defined in ‘GHC.Base’)
or ‘Text.PrettyPrint.HughesPJClass.<>’, imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37
(and originally defined in ‘Text.PrettyPrint.HughesPJ’) |
305 | go pos _ (Index arr idx) = cat [go (left pos) 13 arr <> text "[", nest 4 (go RightExpr 0 idx), text "]"]
| ^^
src/Language/Rust/AST.hs:311:40: error: Precedence parsing error
cannot mix ‘Prelude.<>’ [infixr 6] and ‘<+>’ [infixl 6] in the same infix expression |
311 | go _ _ (RepeatArray el size) = text "[" <> go RightExpr 0 el <> text ";" <+> go RightExpr 0 size <> text "]"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Language/Rust/AST.hs:311:40: error:
Precedence parsing error cannot mix ‘<+>’ [infixl 6] and ‘Prelude.<>’ [infixr 6] in the same infix expression | 311 | go _ _ (RepeatArray el size) = text "[" <> go RightExpr 0 el <> text ";" <+> go RightExpr 0 size <> text "]" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Language/Rust/AST.hs:311:49: error: Ambiguous occurrence ‘<>’
It could refer to either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24
(and originally defined in ‘GHC.Base’)
or ‘Text.PrettyPrint.HughesPJClass.<>’, imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37
(and originally defined in ‘Text.PrettyPrint.HughesPJ’) |
311 | go _ _ (RepeatArray el size) = text "[" <> go RightExpr 0 el <> text ";" <+> go RightExpr 0 size <> text "]"
| ^^
src/Language/Rust/AST.hs:311:70: error: Ambiguous occurrence ‘<>’
It could refer to either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24 (and originally defined in ‘GHC.Base’)
or ‘Text.PrettyPrint.HughesPJClass.<>’, imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37
(and originally defined in ‘Text.PrettyPrint.HughesPJ’) |
311 | go _ _ (RepeatArray el size) = text "[" <> go RightExpr 0 el <> text ";" <+> go RightExpr 0 size <> text "]"
| ^^
src/Language/Rust/AST.hs:311:106: error:
Ambiguous occurrence ‘<>’ It could refer to
either ‘Prelude.<>’, imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24
(and originally defined in ‘GHC.Base’)
or ‘Text.PrettyPrint.HughesPJClass.<>’,
imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37 (and originally defined in ‘Text.PrettyPrint.HughesPJ’) |
311 | go _ _ (RepeatArray el size) = text "[" <> go RightExpr 0 el <> text ";" <+> go RightExpr 0 size <> text "]"
| ^^
src/Language/Rust/AST.hs:314:47: error:
Precedence parsing error cannot mix ‘Prelude.<>’ [infixr 6] and ‘<+>’ [infixl 6] in the same infix expression
| 314 | : punctuate (text ",") ([ nest 4 (text name <> text ":" <+> go RightExpr 0 val) | (name, val) <- fields ] ++ maybe [] (\b -> [ text ".." <> go RightExpr 0 b ]) base) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Language/Rust/AST.hs:314:57: error:
Ambiguous occurrence ‘<>’ It could refer to
either ‘Prelude.<>’, imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24
(and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.HughesPJClass.<>’,
imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37 (and originally defined in ‘Text.PrettyPrint.HughesPJ’)
| 314 | : punctuate (text ",") ([ nest 4 (text name <> text ":" <+> go RightExpr 0 val) | (name, val) <- fields ] ++ maybe [] (\b -> [ text ".." <> go RightExpr 0 b ]) base) | ^^
src/Language/Rust/AST.hs:314:150: error:
Ambiguous occurrence ‘<>’ It could refer to
either ‘Prelude.<>’, imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24
(and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.HughesPJClass.<>’,
imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37 (and originally defined in ‘Text.PrettyPrint.HughesPJ’)
| 314 | : punctuate (text ",") ([ nest 4 (text name <> text ":" <+> go RightExpr 0 val) | (name, val) <- fields ] ++ maybe [] (\b -> [ text ".." <> go RightExpr 0 b ]) base)
| ^^
src/Language/Rust/AST.hs:318:34: error:
Ambiguous occurrence ‘<>’ It could refer to
either ‘Prelude.<>’, imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24
(and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.HughesPJClass.<>’,
imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37 (and originally defined in ‘Text.PrettyPrint.HughesPJ’)
| 318 | ( go (left pos) 14 f <> text "("
| ^^
src/Language/Rust/AST.hs:323:37: error:
Ambiguous occurrence ‘<>’
It could refer to
either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24
(and originally defined in ‘GHC.Base’)
or ‘Text.PrettyPrint.HughesPJClass.<>’,
imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37
(and originally defined in ‘Text.PrettyPrint.HughesPJ’)
|
323 | ( go (left pos) 13 self <> text "." <> pPrint f <> text "("
| ^^
src/Language/Rust/AST.hs:323:49: error:
Ambiguous occurrence ‘<>’
It could refer to
either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24 (and originally defined in ‘GHC.Base’)
or ‘Text.PrettyPrint.HughesPJClass.<>’, imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37
(and originally defined in ‘Text.PrettyPrint.HughesPJ’)
| 323 | ( go (left pos) 13 self <> text "." <> pPrint f <> text "("
| ^^ src/Language/Rust/AST.hs:323:61: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24 (and originally defined in ‘GHC.Base’)
or ‘Text.PrettyPrint.HughesPJClass.<>’, imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37
(and originally defined in ‘Text.PrettyPrint.HughesPJ’) |
323 | ( go (left pos) 13 self <> text "." <> pPrint f <> text "("
| ^^
src/Language/Rust/AST.hs:329:16: error:
Precedence parsing error
cannot mix ‘Prelude.<>’ [infixr 6] and ‘<+>’ [infixl 6] in the same infix expression
|
329 | in text "|" <> args' <> text "|" <+> go RightExpr 0 body
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Language/Rust/AST.hs:329:25: error:
Ambiguous occurrence ‘<>’
It could refer to
either ‘Prelude.<>’,
imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24
(and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.HughesPJClass.<>’,
imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37 (and originally defined in ‘Text.PrettyPrint.HughesPJ’)
| 329 | in text "|" <> args' <> text "|" <+> go RightExpr 0 body
| ^^
src/Language/Rust/AST.hs:329:34: error:
Ambiguous occurrence ‘<>’ It could refer to
either ‘Prelude.<>’, imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24
(and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.HughesPJClass.<>’, imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37 (and originally defined in ‘Text.PrettyPrint.HughesPJ’) | 329 | in text "|" <> args' <> text "|" <+> go RightExpr 0 body
| ^^
src/Language/Rust/AST.hs:330:82: error: Ambiguous occurrence ‘<>’
It could refer to
either ‘Prelude.<>’, imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24
(and originally defined in ‘GHC.Base’)
or ‘Text.PrettyPrint.HughesPJClass.<>’,
imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37
(and originally defined in ‘Text.PrettyPrint.HughesPJ’)
|
330 | go pos d (Member obj field) = maybeParens (d > 13) (go (left pos) 13 obj <> text "." <> pPrint field)
| ^^
src/Language/Rust/AST.hs:330:94: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.<>’, imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24 (and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.HughesPJClass.<>’, imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37 (and originally defined in ‘Text.PrettyPrint.HughesPJ’) | 330 | go pos d (Member obj field) = maybeParens (d > 13) (go (left pos) 13 obj <> text "." <> pPrint field) | ^^ src/Language/Rust/AST.hs:378:57: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.<>’, imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24 (and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.HughesPJClass.<>’, imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37 (and originally defined in ‘Text.PrettyPrint.HughesPJ’) | 378 | optLabel = maybe empty (\ label -> pPrint label <> text ":") | ^^ src/Language/Rust/AST.hs:380:55: error: Ambiguous occurrence ‘<>’ It could refer to either ‘Prelude.<>’, imported from ‘Prelude’ at src/Language/Rust/AST.hs:1:8-24 (and originally defined in ‘GHC.Base’) or ‘Text.PrettyPrint.HughesPJClass.<>’, imported from ‘Text.PrettyPrint.HughesPJClass’ at src/Language/Rust/AST.hs:5:1-37 (and originally defined in ‘Text.PrettyPrint.HughesPJ’) | 380 | unary d n op e = maybeParens (d > n) (text op <> go RightExpr n e) | ^^ cabal: Leaving directory '.' cabal: Error: some packages failed to install: corrode-0.1.0.0-7JByiBhjcJ4AiUKajiokjH failed during the building phase. The exception was: ExitFailure 1
I'm getting what appear to be the same errors.
In order to get this far, I had to modify corrode.cabal and remove "<0.7" from language-c, don't know if this is related to the errors. My system appears to be using language-c 0.9.1
It failed for me with higher language-c.
In any case, the last mod to this repo was 7 years ago. Supposing you could ever get it to compile, would the rust output really be of current rust?