diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2016-10-28 17:05:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-28 17:05:47 +0200 |
| commit | f12e66e642b8cc44c93557e17ae9817ac8ce82b4 (patch) | |
| tree | ccea201c01fd6f7ff7a3edd806f15709ba7d8bd6 /src/test/run-pass/thinlto | |
| parent | 777502ef052d385f4dab3449b807793bf12459e7 (diff) | |
| parent | de5172ce5f41cc915829bd4ebc8409c42d936808 (diff) | |
| download | rust-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
