about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2016-10-28 17:05:47 +0200
committerGitHub <noreply@github.com>2016-10-28 17:05:47 +0200
commitf12e66e642b8cc44c93557e17ae9817ac8ce82b4 (patch)
treeccea201c01fd6f7ff7a3edd806f15709ba7d8bd6 /src/test/run-pass/thinlto
parent777502ef052d385f4dab3449b807793bf12459e7 (diff)
parentde5172ce5f41cc915829bd4ebc8409c42d936808 (diff)
downloadrust-f12e66e642b8cc44c93557e17ae9817ac8ce82b4.tar.gz
rust-f12e66e642b8cc44c93557e17ae9817ac8ce82b4.zip
Rollup merge of #37430 - robinst:missing-crate-message-add-semicolon, r=eddyb
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