Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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.
Advertisement
Add Comment
Please, Sign In to add comment