]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/impl-trait/equality2.stderr
Auto merge of #95604 - nbdd0121:used2, r=petrochenkov
[rust.git] / src / test / ui / impl-trait / equality2.stderr
index fd33fa7c674f185e97a24a70987892b6e9af0b95..46053c6e7c1196f4cb10eb13c4814751856b6f33 100644 (file)
@@ -15,7 +15,9 @@ LL | fn hide<T: Foo>(x: T) -> impl Foo {
    |                          -------- the found opaque type
 ...
 LL |     let _: u32 = hide(0_u32);
-   |                  ^^^^^^^^^^^ expected `u32`, found opaque type
+   |            ---   ^^^^^^^^^^^ expected `u32`, found opaque type
+   |            |
+   |            expected due to this
    |
    = note:     expected type `u32`
            found opaque type `impl Foo`