]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/impl-trait/projection-mismatch-in-impl-where-clause.stderr
Rollup merge of #95504 - jyn514:library-alias, r=Mark-Simulacrum
[rust.git] / src / test / ui / impl-trait / projection-mismatch-in-impl-where-clause.stderr
index 65daabe419d3f3b81862bc8904edf28257ca35ae..ade0dfa1bb3b3e347d0161aa271a8683586728b2 100644 (file)
@@ -4,7 +4,7 @@ error[E0271]: type mismatch resolving `<() as Super>::Assoc == ()`
 LL | fn test() -> impl Test {
    |              ^^^^^^^^^ type mismatch resolving `<() as Super>::Assoc == ()`
    |
-note: expected this to be `()`
+note: expected this to be `u8`
   --> $DIR/projection-mismatch-in-impl-where-clause.rs:6:18
    |
 LL |     type Assoc = u8;