X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Fnever_type%2Ffallback-closure-wrap.fallback.stderr;h=6b9635d4a60bcd889b794d08db7625fbf898b597;hb=d708bc45c4092432f87090c1624c25bf76f49d9e;hp=78d1a3caf4a30e379e01860e4b3fb3a65535aa4a;hpb=d55c373ddd1ec4f9bee281801f85283ac44140a7;p=rust.git diff --git a/src/test/ui/never_type/fallback-closure-wrap.fallback.stderr b/src/test/ui/never_type/fallback-closure-wrap.fallback.stderr index 78d1a3caf4a..6b9635d4a60 100644 --- a/src/test/ui/never_type/fallback-closure-wrap.fallback.stderr +++ b/src/test/ui/never_type/fallback-closure-wrap.fallback.stderr @@ -10,7 +10,7 @@ LL | | }) as Box); | = 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