-
Notifications
You must be signed in to change notification settings - Fork 111
Closed
Labels
bugSomething isn't workingSomething isn't workingciChanges to continuous integrationChanges to continuous integration
Description
Describe the bug
Nightly changed it's API so .chain() is now .sources(). This broke compilation.
To Reproduce
Steps to reproduce the behavior:
cargo +nightly build --bin synth- See error
|
44 | let mut chain = original.chain().collect::<Vec<_>>();
| ^^^^^ `&(dyn StdError + 'static)` is not an iterator
|
::: /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/error.rs:31:1
|
31 | pub trait Error: Debug + Display {
| -------------------------------- doesn't satisfy `(dyn StdError + 'static): Iterator`
|
= note: the following trait bounds were not satisfied:
`&(dyn StdError + 'static): Iterator`
which is required by `&mut &(dyn StdError + 'static): Iterator`
`(dyn StdError + 'static): Iterator`
which is required by `&mut (dyn StdError + 'static): Iterator`
Expected behavior
Successful compilation.
Additional context
This can be fixed easily by changing .chain() to .sources(). I will make a PR fixing this soon.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingciChanges to continuous integrationChanges to continuous integration