Sha256: bbdad7cb35b3a92026b85941532964410ae837ea75ea0db0d2ba56a809f20fe9

Contents?: true

Size: 841 Bytes

Versions: 8

Compression:

Stored size: 841 Bytes

Contents

error: trait objects without an explicit `dyn` are deprecated
  --> tests/ui/bare-trait-object.rs:11:16
   |
11 | impl Trait for Send + Sync {
   |                ^^^^^^^^^^^
   |
   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
note: the lint level is defined here
  --> tests/ui/bare-trait-object.rs:1:9
   |
1  | #![deny(bare_trait_objects)]
   |         ^^^^^^^^^^^^^^^^^^
help: use `dyn`
   |
11 | impl Trait for dyn Send + Sync {
   |                +++
help: alternatively use a blanket implementation to implement `Trait` for all types that also implement `Send + Sync`
   |
11 | impl<T: Send + Sync> Trait for T {
   |     ++++++++++++++++           ~

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
wasmtime-9.0.1 ./ext/cargo-vendor/async-trait-0.1.68/tests/ui/bare-trait-object.stderr
wasmtime-8.0.0 ./ext/cargo-vendor/async-trait-0.1.68/tests/ui/bare-trait-object.stderr
wasmtime-7.0.0 ./ext/cargo-vendor/async-trait-0.1.68/tests/ui/bare-trait-object.stderr
wasmtime-6.0.1 ./ext/cargo-vendor/async-trait-0.1.64/tests/ui/bare-trait-object.stderr
wasmtime-6.0.0 ./ext/cargo-vendor/async-trait-0.1.64/tests/ui/bare-trait-object.stderr
wasmtime-5.0.0 ./ext/cargo-vendor/async-trait-0.1.62/tests/ui/bare-trait-object.stderr
wasmtime-0.4.1 ./ext/cargo-vendor/async-trait-0.1.59/tests/ui/bare-trait-object.stderr
wasmtime-0.4.0 ./ext/cargo-vendor/async-trait-0.1.59/tests/ui/bare-trait-object.stderr