SHARE
TWEET
cargo run output
a guest
Dec 7th, 2018
181
Never
- Compiling minigrep v0.1.0 (path\minigrep)
- error[E0432]: unresolved import `minigrep`
- --> src\main.rs:4:5
- |
- 4 | use minigrep;
- | ^^^^^^^^ no `minigrep` in the root
- error[E0433]: failed to resolve. Use of undeclared type or module `Config`
- --> src\main.rs:10:18
- |
- 10 | let config = Config::new(&args).unwrap_or_else(|err| {
- | ^^^^^^ Use of undeclared type or module `Config`
- warning: unused import: `minigrep::Config`
- --> src\main.rs:5:5
- |
- 5 | use minigrep::Config;
- | ^^^^^^^^^^^^^^^^
- |
- = note: #[warn(unused_imports)] on by default
- error: aborting due to 2 previous errors
- Some errors occurred: E0432, E0433.
- For more information about an error, try `rustc --explain E0432`.
- error: Could not compile `minigrep`.
- To learn more, run the command again with --verbose.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.


