about summary refs log tree commit diff
path: root/src/test/ui/no_send-enum.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/no_send-enum.stderr')
-rw-r--r--src/test/ui/no_send-enum.stderr6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/test/ui/no_send-enum.stderr b/src/test/ui/no_send-enum.stderr
index b617fe410fa..9d755839d37 100644
--- a/src/test/ui/no_send-enum.stderr
+++ b/src/test/ui/no_send-enum.stderr
@@ -8,7 +8,11 @@ LL |     bar(x);
    |     ^^^ `NoSend` cannot be sent between threads safely
    |
    = help: within `Foo`, the trait `Send` is not implemented for `NoSend`
-   = note: required because it appears within the type `Foo`
+note: required because it appears within the type `Foo`
+  --> $DIR/no_send-enum.rs:8:6
+   |
+LL | enum Foo {
+   |      ^^^
 
 error: aborting due to previous error