-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Rust 1.66 compiles citeproc-rs
just fine. (rustup run 1.66 cargo build
)
Rust 1.67 (https://github.com/rust-lang/rust/blob/master/RELEASES.md) can't compile sub module io
due to a lifetime error:
$ rustup run 1.67 cargo build
...
Compiling citeproc-io v0.1.0 (/private/tmp/citeproc-rs/crates/io)
error: `QuoteSplitter<'_, impl Iterator<Item = (usize, char)> + '_>::events::{opaque#0}<'_>` does not live long enough
--> crates/io/src/output/parse_quotes.rs:419:47
|
419 | | MicroNode::Formatted(..) => EachSplitter::Index(Some(ix)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: `QuoteSplitter<'_, impl Iterator<Item = (usize, char)> + '_>::events::{opaque#0}<'_>` does not live long enough
--> crates/io/src/output/parse_quotes.rs:430:21
|
430 | / EachSplitter::Splitter {
431 | | index: ix,
432 | | splitter,
433 | | seen_any: Some(false),
434 | | }
| |_____________________^
error: could not compile `citeproc-io` due to 2 previous errors
Metadata
Metadata
Assignees
Labels
No labels