]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/never_type/fallback-closure-wrap.fallback.stderr
Rollup merge of #98665 - ChrisDenton:deprecated-suggestion, r=compiler-errors
[rust.git] / src / test / ui / never_type / fallback-closure-wrap.fallback.stderr
index 78d1a3caf4a30e379e01860e4b3fb3a65535aa4a..6b9635d4a60bcd889b794d08db7625fbf898b597 100644 (file)
@@ -10,7 +10,7 @@ LL | |     }) as Box<dyn FnMut()>);
    |
    = note: expected unit type `()`
                    found type `!`
-   = note: required for the cast to the object type `dyn FnMut()`
+   = note: required for the cast from `[closure@$DIR/fallback-closure-wrap.rs:18:40: 21:6]` to the object type `dyn FnMut()`
 
 error: aborting due to previous error