J-F-Liu / pom

PEG parser combinators using operator overloading without macros.
MIT License
496 stars 30 forks source link

Cargo build fails with v0.8.1 on crates.io #10

Closed alienscience closed 7 years ago

alienscience commented 7 years ago

Hello, This github repository compiles fine for me but when I add pom as a dependency to my Cargo.toml I get a compiler error on build:

~/.../catfood/smtpdr$ (master): cargo build
   Compiling pom v0.8.1
error: unexpected `?`
   --> .../pom-0.8.1/src/parser.rs:192:19
    |
192 |         T: Train<I> + ?Sized
    |                       ^

error: aborting due to previous error

error: Could not compile `pom`.

Is the version on crates.io out of date?

J-F-Liu commented 7 years ago

v0.8.1 builds on Rust nightly, the next release will support Rust stable.