Skip to content
Myr

Update ui tests to nightly-2020-03-01

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent bac602c · Browse files · 1 file+13 added−8 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+13 added−8 removed

  • tests:+13 added−8 removed

1 file+13 added−8 removed

modified:tests/ui/no-impl.stderr+13 added-8 removed
1error[E0599]: no method named `anyhow_kind` found for reference `&Error` in the current scope2 --> $DIR/no-impl.rs:7:133 |44 | struct Error;5 | -------------6 | |7 | doesn't satisfy `Error: anyhow::kind::TraitKind`8 | doesn't satisfy `Error: std::convert::Into<anyhow::Error>`9 | doesn't satisfy `Error: std::fmt::Display`10...117 | let _ = anyhow!(Error);12 | ^^^^^^^^^^^^^^ method not found in `&Error`13 |14 = note: the method `anyhow_kind` exists but the following trait bounds were not satisfied:8 `&Error : anyhow::kind::AdhocKind`9 `&Error : anyhow::kind::TraitKind`10 `Error : anyhow::kind::TraitKind`11 = help: items from traits can only be used if the trait is implemented and in scope12 = note: the following traits define an item `anyhow_kind`, perhaps you need to implement one of them:13 candidate #1: `anyhow::kind::AdhocKind`14 candidate #2: `anyhow::kind::TraitKind`15 candidate #3: `anyhow::kind::BoxedKind`15 `Error: std::convert::Into<anyhow::Error>`16 which is required by `Error: anyhow::kind::TraitKind`17 `Error: std::fmt::Display`18 which is required by `&Error: anyhow::kind::AdhocKind`19 `&Error: std::convert::Into<anyhow::Error>`20 which is required by `&Error: anyhow::kind::TraitKind`21 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)