about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorRobin Stocker <robin@nibor.org>2016-10-27 15:24:08 +1100
committerRobin Stocker <robin@nibor.org>2016-10-27 15:24:08 +1100
commitde5172ce5f41cc915829bd4ebc8409c42d936808 (patch)
treeb29401c14c8aebff24933cf12c911d465801a9cc /src/test/run-pass/thinlto
parentc59cb71d976ceabf00c7da0224a795fab530601e (diff)
downloadrust-de5172ce5f41cc915829bd4ebc8409c42d936808.tar.gz
rust-de5172ce5f41cc915829bd4ebc8409c42d936808.zip
Add semicolon to "Maybe a missing `extern crate foo`" message
I had it a couple of times that I was missing the "extern crate" line
after I introduced a new dependency. So I copied the text from the
message and inserted it into the beginning of my code, only to find the
compiler complaining that I was missing the semicolon. (I forgot to add
it after the text that I had pasted.)

There's a similar message which does include the semicolon, namely
"help: you can import it into scope: `use foo::Bar;`". I think the two
messages should be consistent, so this change adds it for "extern
crate".
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions