]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/block-result/issue-5500.stderr
Rollup merge of #107488 - nnethercote:fix-PartialEq-syntax, r=RalfJung
[rust.git] / tests / ui / block-result / issue-5500.stderr
index 211a6052864e8eade0d248828b6e57d13df57016..8cd4bd65871a3601421098c8e6b6a4d84f69104f 100644 (file)
@@ -4,7 +4,7 @@ error[E0308]: mismatched types
 LL | fn main() {
    |           - expected `()` because of default return type
 LL |     &panic!()
-   |     ^^^^^^^^^ expected `()`, found reference
+   |     ^^^^^^^^^ expected `()`, found `&_`
    |
    = note: expected unit type `()`
               found reference `&_`