]> git.proxmox.com Git - rustc.git/blobdiff - tests/ui/coherence/coherence-unsafe-trait-object-impl.stderr
New upstream version 1.74.1+dfsg1
[rustc.git] / tests / ui / coherence / coherence-unsafe-trait-object-impl.stderr
index 2e2dac288a1da9cd6131b10cd52b36185b4f264f..a3a37fd277578cae2eeec93567fba75dadd784ca 100644 (file)
@@ -6,6 +6,11 @@ LL |     takes_t(t);
    |     |
    |     required by a bound introduced by this call
    |
+help: this trait has no implementations, consider adding one
+  --> $DIR/coherence-unsafe-trait-object-impl.rs:6:1
+   |
+LL | trait Trait: Sized {
+   | ^^^^^^^^^^^^^^^^^^
 note: required by a bound in `takes_t`
   --> $DIR/coherence-unsafe-trait-object-impl.rs:10:15
    |