]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-18611.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-18611.stderr
index 22c3470b61edeb955e8cb92b46c1d837c4c241aa..0e942e80e254436dca5792928e63162bcb2811ef 100644 (file)
@@ -1,10 +1,11 @@
 error[E0277]: the trait bound `isize: HasState` is not satisfied
-  --> $DIR/issue-18611.rs:1:1
+  --> $DIR/issue-18611.rs:1:18
    |
-LL | / fn add_state(op: <isize as HasState>::State) {
-LL | |
-LL | | }
-   | |_^ the trait `HasState` is not implemented for `isize`
+LL | fn add_state(op: <isize as HasState>::State) {
+   |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `HasState` is not implemented for `isize`
+...
+LL | trait HasState {
+   | -------------- required by this bound in `HasState`
 
 error: aborting due to previous error