1error[E0599]: the method `anyhow_kind` exists for reference `&Error`, but its trait bounds were not satisfied
2 --> $DIR/no-impl.rs:7:13
3  |
44 | struct Error;
5  | -------------
6  | |
7  | doesn't satisfy `Error: Into<anyhow::Error>`
8  | doesn't satisfy `Error: anyhow::private::kind::TraitKind`
9  | doesn't satisfy `Error: std::fmt::Display`
10...
117 |     let _ = anyhow!(Error);
12  |             ^^^^^^^^^^^^^^ method cannot be called on `&Error` due to unsatisfied trait bounds
13  |
14  = note: the following trait bounds were not satisfied:
15          `Error: Into<anyhow::Error>`
16          which is required by `Error: anyhow::private::kind::TraitKind`
17          `Error: std::fmt::Display`
18          which is required by `&Error: anyhow::private::kind::AdhocKind`
19          `&Error: Into<anyhow::Error>`
20          which is required by `&Error: anyhow::private::kind::TraitKind`
21  = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
22