about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2019-07-13 22:25:23 -0700
committerEsteban Küber <esteban@kuber.com.ar>2019-07-13 22:25:23 -0700
commitf2a6a4e5afbe61cded2793e55f821e14c6708c78 (patch)
treef7ab853caebb3d666d7fc7167cba6bb4d914a904 /src/libsyntax
parentc8d9cd99fa2f389a69c0c42de9945f46977b11d7 (diff)
downloadrust-f2a6a4e5afbe61cded2793e55f821e14c6708c78.tar.gz
rust-f2a6a4e5afbe61cded2793e55f821e14c6708c78.zip
review comment
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/parse/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/diagnostics.rs b/src/libsyntax/parse/diagnostics.rs
index de392d6bb81..676c87f9daa 100644
--- a/src/libsyntax/parse/diagnostics.rs
+++ b/src/libsyntax/parse/diagnostics.rs
@@ -800,7 +800,7 @@ impl<'a> Parser<'a> {
                         .span_label(
                             extern_sp,
                             "`extern` blocks define existing foreign functions and `fn`s \
-                             inside of them can't have a body")
+                             inside of them cannot have a body")
                         .help("you might have meant to write a function accessible through ffi, \
                                which can be done by writing `extern fn` outside of the \
                                `extern` block")