Skip to content

Nemo157/cargo-marvin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cargo-marvin

Inspired by ebrythil on Reddit.

> cargo install --git https://github.com/Nemo157/cargo-marvin
> cargo marvin build --example moved_value
   Compiling cargo-marvin v0.1.0 (file:///Users/Nemo157/sources/cargo-marvin)
transgression[E0382]: use of moved value: `foo`. Again. There goes my hope you learned that by now. Seriously. It's not that hard...
     --> examples/moved_value.rs:7:9
      |
    6 |     bar(foo);
      |         --- value moved here
    7 |     bar(foo);
      |         --- value used here after move
      |
      = illumination: move occurs because `foo` has type `std::string::String`, which does not implement the `Copy` trait

transgression: aborting due to previous error. Maybe try a garbage-collected language?
error: Could not compile `cargo-marvin`.

To learn more, run the command again with --verbose.

error: Here I am, brain the size of a planet, and you want me to compile this crate full of errors.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.