mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-19 08:57:29 +00:00
22 lines
960 B
Plaintext
22 lines
960 B
Plaintext
error[E0599]: no method named `anyhow_kind` found for reference `&Error` in the current scope
|
|
--> $DIR/no-impl.rs:7:13
|
|
|
|
|
4 | struct Error;
|
|
| -------------
|
|
| |
|
|
| doesn't satisfy `Error: Into<anyhow::Error>`
|
|
| doesn't satisfy `Error: anyhow::private::kind::TraitKind`
|
|
| doesn't satisfy `Error: std::fmt::Display`
|
|
...
|
|
7 | let _ = anyhow!(Error);
|
|
| ^^^^^^^^^^^^^^ method not found in `&Error`
|
|
|
|
|
= note: the method `anyhow_kind` exists but the following trait bounds were not satisfied:
|
|
`Error: Into<anyhow::Error>`
|
|
which is required by `Error: anyhow::private::kind::TraitKind`
|
|
`Error: std::fmt::Display`
|
|
which is required by `&Error: anyhow::private::kind::AdhocKind`
|
|
`&Error: Into<anyhow::Error>`
|
|
which is required by `&Error: anyhow::private::kind::TraitKind`
|
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
|