Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

cargo run output

a guest Dec 7th, 2018 181 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  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.
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. OK, I Understand
Pastebin PRO 'CHRISTMAS SPECIAL'!
Get 60% OFF Pastebin PRO accounts!
 
Top