about summary refs log tree commit diff
path: root/src/test/ui/self
diff options
context:
space:
mode:
authorAndy Russell <arussell123@gmail.com>2020-05-04 18:12:06 -0400
committerAndy Russell <arussell123@gmail.com>2020-05-07 00:33:25 -0400
commit9f88d75710b7fbc6d052b2a8dca40c7bd347166e (patch)
treea26f6e1147e4b5f4a370c8347a671e3942e60077 /src/test/ui/self
parent97f3eeec8216d7155c24674b9be55e7c672bcae3 (diff)
downloadrust-9f88d75710b7fbc6d052b2a8dca40c7bd347166e.tar.gz
rust-9f88d75710b7fbc6d052b2a8dca40c7bd347166e.zip
reword "possible candidate" import suggestion
Diffstat (limited to 'src/test/ui/self')
-rw-r--r--src/test/ui/self/self_type_keyword.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/self/self_type_keyword.stderr b/src/test/ui/self/self_type_keyword.stderr
index fa603276c8e..7997cdc2957 100644
--- a/src/test/ui/self/self_type_keyword.stderr
+++ b/src/test/ui/self/self_type_keyword.stderr
@@ -66,7 +66,7 @@ error[E0531]: cannot find unit struct, unit variant or constant `Self` in this s
 LL |         mut Self => (),
    |             ^^^^ not found in this scope
    |
-help: possible candidate is found in another module, you can import it into scope
+help: consider importing this unit struct
    |
 LL | use foo::Self;
    |