Sha256: 04415aeaa14995f47f06f35fb1f6971d332d2110aabca920c30ab0803d6a0a5e

Contents?: true

Size: 1.18 KB

Versions: 25

Compression:

Stored size: 1.18 KB

Contents

error[E0599]: the method `anyhow_kind` exists for reference `&Error`, but its trait bounds were not satisfied
 --> tests/ui/no-impl.rs:7:13
  |
4 | struct Error;
  | ------------
  | |
  | doesn't satisfy `Error: Into<anyhow::Error>`
  | doesn't satisfy `Error: anyhow::kind::TraitKind`
  | doesn't satisfy `Error: std::fmt::Display`
...
7 |     let _ = anyhow!(Error);
  |             ^^^^^^^^^^^^^^ method cannot be called on `&Error` due to unsatisfied trait bounds
  |
  = note: the following trait bounds were not satisfied:
          `Error: Into<anyhow::Error>`
          which is required by `Error: anyhow::kind::TraitKind`
          `Error: std::fmt::Display`
          which is required by `&Error: anyhow::kind::AdhocKind`
          `&Error: Into<anyhow::Error>`
          which is required by `&Error: anyhow::kind::TraitKind`
note: the traits `Into` and `std::fmt::Display` must be implemented
 --> $RUST/core/src/fmt/mod.rs
  |
  | pub trait Display {
  | ^^^^^^^^^^^^^^^^^
  |
 ::: $RUST/core/src/convert/mod.rs
  |
  | pub trait Into<T>: Sized {
  | ^^^^^^^^^^^^^^^^^^^^^^^^
  = note: this error originates in the macro `anyhow` (in Nightly builds, run with -Z macro-backtrace for more info)

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
wasmtime-18.0.3 ./ext/cargo-vendor/anyhow-1.0.79/tests/ui/no-impl.stderr
wasmtime-17.0.1 ./ext/cargo-vendor/anyhow-1.0.79/tests/ui/no-impl.stderr
wasmtime-17.0.0 ./ext/cargo-vendor/anyhow-1.0.79/tests/ui/no-impl.stderr
wasmtime-16.0.0 ./ext/cargo-vendor/anyhow-1.0.79/tests/ui/no-impl.stderr
wasmtime-15.0.1 ./ext/cargo-vendor/anyhow-1.0.79/tests/ui/no-impl.stderr
wasmtime-15.0.0 ./ext/cargo-vendor/anyhow-1.0.79/tests/ui/no-impl.stderr
wasmtime-14.0.4 ./ext/cargo-vendor/anyhow-1.0.75/tests/ui/no-impl.stderr
wasmtime-14.0.3 ./ext/cargo-vendor/anyhow-1.0.75/tests/ui/no-impl.stderr
wasmtime-14.0.1 ./ext/cargo-vendor/anyhow-1.0.75/tests/ui/no-impl.stderr
wasmtime-14.0.0 ./ext/cargo-vendor/anyhow-1.0.75/tests/ui/no-impl.stderr
wasmtime-13.0.0 ./ext/cargo-vendor/anyhow-1.0.75/tests/ui/no-impl.stderr
wasmtime-12.0.1 ./ext/cargo-vendor/anyhow-1.0.75/tests/ui/no-impl.stderr
wasmtime-12.0.0 ./ext/cargo-vendor/anyhow-1.0.75/tests/ui/no-impl.stderr
wasmtime-11.0.0 ./ext/cargo-vendor/anyhow-1.0.75/tests/ui/no-impl.stderr
wasmtime-10.0.1 ./ext/cargo-vendor/anyhow-1.0.72/tests/ui/no-impl.stderr
wasmtime-10.0.0 ./ext/cargo-vendor/anyhow-1.0.72/tests/ui/no-impl.stderr
wasmtime-9.0.4 ./ext/cargo-vendor/anyhow-1.0.72/tests/ui/no-impl.stderr
wasmtime-9.0.1 ./ext/cargo-vendor/anyhow-1.0.71/tests/ui/no-impl.stderr
wasmtime-8.0.0 ./ext/cargo-vendor/anyhow-1.0.70/tests/ui/no-impl.stderr
wasmtime-7.0.0 ./ext/cargo-vendor/anyhow-1.0.70/tests/ui/no-impl.stderr