]> git.proxmox.com Git - rustc.git/blobdiff - tests/ui/suggestions/issue-84973-blacklist.stderr
New upstream version 1.74.1+dfsg1
[rustc.git] / tests / ui / suggestions / issue-84973-blacklist.stderr
index 4de9da89c9bc67d90dce692008270ad2a4e11ebe..c8ce146cebf9ab41c1ee7e09549d051acf5e35a4 100644 (file)
@@ -31,11 +31,11 @@ LL + #[derive(Clone)]
 LL | struct S;
    |
 
-error[E0277]: `[static generator@$DIR/issue-84973-blacklist.rs:17:13: 17:22]` cannot be unpinned
+error[E0277]: `{static generator@$DIR/issue-84973-blacklist.rs:17:13: 17:22}` cannot be unpinned
   --> $DIR/issue-84973-blacklist.rs:17:13
    |
 LL |     f_unpin(static || { yield; });
-   |     ------- ^^^^^^^^^^^^^^^^^^^^ the trait `Unpin` is not implemented for `[static generator@$DIR/issue-84973-blacklist.rs:17:13: 17:22]`
+   |     ------- ^^^^^^^^^^^^^^^^^^^^ the trait `Unpin` is not implemented for `{static generator@$DIR/issue-84973-blacklist.rs:17:13: 17:22}`
    |     |
    |     required by a bound introduced by this call
    |