Skip to content

highlight-1.0.0 doesn't build on 1.16 beta #39806

Closed
@brson

Description

@brson

https://github.com/neunenak/hilite ac0768130d52219a247d383285ac4adb88d8d1f0

   Compiling getopts v0.2.14
   Compiling hilite v1.0.0 (file:///mnt2/dev/hilite)
error[E0277]: the trait bound `&&[std::string::String]: std::iter::Iterator` is not satisfied
  --> src/main.rs:83:32
   |
83 |                               .args(& program_args)
   |                                ^^^^ the trait `std::iter::Iterator` is not implemented for `&&[std::string::String]`
   |
   = note: `&&[std::string::String]` is not an iterator; maybe try calling `.iter()` or a similar method
   = note: required because of the requirements on the impl of `std::iter::IntoIterator` for `&&[std::string::String]`

error: aborting due to previous error

error: Could not compile `hilite`.

To learn more, run the command again with --verbose.
rustc 1.16.0-beta.1 (5276ba72e 2017-01-31)
binary: rustc
commit-hash: 5276ba72e8fe13597200254447fce9cb3783c583
commit-date: 2017-01-31
host: x86_64-unknown-linux-gnu
release: 1.16.0-beta.1
LLVM version: 3.9

cc @neunenak

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions