Sha256: 887384b650b3d37f77f6c5380912d74b9d18ba93f8a1ad86c03bff0adb100bf8

Contents?: true

Size: 494 Bytes

Versions: 2

Compression:

Stored size: 494 Bytes

Contents

error[E0782]: expected a type, found a trait
  --> tests/ui/bare-trait-object.rs:11:16
   |
11 | impl Trait for Send + Sync {
   |                ^^^^^^^^^^^
   |
help: you can add the `dyn` keyword if you want a trait object
   |
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

2 entries across 2 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/async-trait-0.1.85/tests/ui/bare-trait-object.stderr
wasmtime-28.0.0 ./ext/cargo-vendor/async-trait-0.1.85/tests/ui/bare-trait-object.stderr