]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/associated-types/associated-types-unconstrained.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / associated-types / associated-types-unconstrained.stderr
index abb220c96c6c6d80d78a27525e5a1a94347a8b23..14ce4836f97f8253f5f33b89d4991431116d4f26 100644 (file)
@@ -1,8 +1,10 @@
-error[E0284]: type annotations required: cannot resolve `<_ as Foo>::A == _`
-  --> $DIR/associated-types-unconstrained.rs:24:20
+error[E0284]: type annotations needed
+  --> $DIR/associated-types-unconstrained.rs:14:20
    |
 LL |     let x: isize = Foo::bar();
-   |                    ^^^^^^^^
+   |                    ^^^^^^^^ cannot infer type
+   |
+   = note: cannot resolve `<_ as Foo>::A == _`
 
 error: aborting due to previous error