]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/traits/reservation-impls/reservation-impl-no-use.stderr
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / traits / reservation-impls / reservation-impl-no-use.stderr
diff --git a/src/test/ui/traits/reservation-impls/reservation-impl-no-use.stderr b/src/test/ui/traits/reservation-impls/reservation-impl-no-use.stderr
deleted file mode 100644 (file)
index 794faff..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-error[E0277]: the trait bound `(): MyTrait` is not satisfied
-  --> $DIR/reservation-impl-no-use.rs:10:26
-   |
-LL | trait MyTrait { fn foo(&self); }
-   |                 -------------- required by `MyTrait::foo`
-...
-LL |     <() as MyTrait>::foo(&());
-   |                          ^^^ the trait `MyTrait` is not implemented for `()`
-   |
-   = help: the following implementations were found:
-             <() as MyTrait>
-
-error: aborting due to previous error
-
-For more information about this error, try `rustc --explain E0277`.