]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/closures/closure-bounds-subtype.stderr
Auto merge of #84267 - dtolnay:ptrunit, r=nagisa
[rust.git] / src / test / ui / closures / closure-bounds-subtype.stderr
index bfea4979decaefe31646bb1a044f6c6bd758ce00..1a40326d986c4124e4a765519ebc276e6d83c193 100644 (file)
@@ -2,7 +2,9 @@ error[E0277]: `F` cannot be shared between threads safely
   --> $DIR/closure-bounds-subtype.rs:13:22
    |
 LL |     take_const_owned(f);
-   |                      ^ `F` cannot be shared between threads safely
+   |     ---------------- ^ `F` cannot be shared between threads safely
+   |     |
+   |     required by a bound introduced by this call
    |
 note: required by a bound in `take_const_owned`
   --> $DIR/closure-bounds-subtype.rs:4:50