]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/no_share-enum.stderr
Update ui tests
[rust.git] / src / test / ui / no_share-enum.stderr
index 5a9b7cae0b9f6d9b67f9ef2fe57941f4e2b55457..f42228ef6ab42088acba038f4bd51eaf1bd9e1cb 100644 (file)
@@ -2,7 +2,7 @@ error[E0277]: `NoSync` cannot be shared between threads safely
   --> $DIR/no_share-enum.rs:14:5
    |
 LL | fn bar<T: Sync>(_: T) {}
-   | --------------------- required by `bar`
+   |    ---    ---- required by this bound in `bar`
 ...
 LL |     bar(x);
    |     ^^^ `NoSync` cannot be shared between threads safely