Skip to content

Coherence rule changes in latest nightly break parser-combinators #27

@hugoduncan

Description

@hugoduncan

The impls for Stream for &str and &[T] now conflict with that for I: Iterator + Clone.

This is due to the changes in rust-lang/rust#23867, in particular the negative reasoning as demonstrated in the Replacer example.

The problem in this case, iiuc, is that &str and &[T] could one day decide to implement Iterator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions