]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/type-alias-impl-trait/no_revealing_outside_defining_module.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / type-alias-impl-trait / no_revealing_outside_defining_module.stderr
index 366d6bad37a5f3f5102d479d46f66ce4cd32f7ab..aaf5e286643f96ef436a081d3ae60dff26980037 100644 (file)
@@ -13,7 +13,7 @@ error[E0308]: mismatched types
 LL | fn bomp() -> boo::Boo {
    |              -------- expected `Boo` because of return type
 LL |     ""
-   |     ^^ expected opaque type, found reference
+   |     ^^ expected opaque type, found &str
    |
    = note: expected opaque type `Boo`
                 found reference `&'static str`