Guest User

cargo run output

a guest
Dec 7th, 2018
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. Compiling minigrep v0.1.0 (path\minigrep)
  2. error[E0432]: unresolved import `minigrep`
  3. --> src\main.rs:4:5
  4. |
  5. 4 | use minigrep;
  6. | ^^^^^^^^ no `minigrep` in the root
  7.  
  8. error[E0433]: failed to resolve. Use of undeclared type or module `Config`
  9. --> src\main.rs:10:18
  10. |
  11. 10 | let config = Config::new(&args).unwrap_or_else(|err| {
  12. | ^^^^^^ Use of undeclared type or module `Config`
  13.  
  14. warning: unused import: `minigrep::Config`
  15. --> src\main.rs:5:5
  16. |
  17. 5 | use minigrep::Config;
  18. | ^^^^^^^^^^^^^^^^
  19. |
  20. = note: #[warn(unused_imports)] on by default
  21.  
  22. error: aborting due to 2 previous errors
  23.  
  24. Some errors occurred: E0432, E0433.
  25. For more information about an error, try `rustc --explain E0432`.
  26. error: Could not compile `minigrep`.
  27.  
  28. To learn more, run the command again with --verbose.
Advertisement
Add Comment
Please, Sign In to add comment