Closed
Description
I'm getting this error when trying to build with today's nightly
src/rustast.rs:24:2: 24:3 error: mismatched types:
expected `syntax::ast::Path`,
found `core::result::Result<syntax::ast::Path, syntax::diagnostic::FatalError>`
(expected struct `syntax::ast::Path`,
found enum `core::result::Result`) [E0308]
src/rustast.rs:24 r
^
src/rustast.rs:36:2: 36:3 error: mismatched types:
expected `syntax::ptr::P<syntax::ast::Block>`,
found `core::result::Result<syntax::ptr::P<syntax::ast::Block>, syntax::diagnostic::FatalError>`
(expected struct `syntax::ptr::P`,
found enum `core::result::Result`) [E0308]
src/rustast.rs:36 r
^
src/peg_syntax_ext.rs:97:24: 97:48 error: cannot apply unary operator `!` to type `core::result::Result<bool, syntax::diagnostic::FatalError>`
src/peg_syntax_ext.rs:97 if !parser.eat(&token::Eof) {
^~~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to 3 previous errors
Could not compile `peg`.
$ rustc --version
rustc 1.0.0-nightly (d9146bf8b 2015-04-07) (built 2015-04-08)
I use rust-peg
for multiple projects, so I'm hoping you can get to this soon.
Metadata
Metadata
Assignees
Labels
No labels