Rollup merge of #29796 - barosl:unresolved-import-extern-crate, r=steveklabnik

The command-line error message for E0432 does mention the possibility of missing the `extern crate` declaration, but the detailed error message for it doesn't.

Fixes #29517.
This commit is contained in:
Steve Klabnik 2015-11-16 16:22:48 -05:00
commit 4c12530575

View file

@ -806,6 +806,15 @@ mod something {
pub struct Foo;
}
```
Or, if you tried to use a module from an external crate, you may have missed
the `extern crate` declaration:
```
extern crate homura; // Required to use the `homura` crate
use homura::Madoka;
```
"##,
E0433: r##"