Include Features and Package Flags in Cargo Stylus Commands #400
Annotations
3 errors
(aarch64-apple-darwin, nightly)
Process completed with exit code 101.
|
(aarch64-apple-darwin, stable)
Process completed with exit code 101.
|
cannot move out of `self.common_cfg.features` which is behind a shared reference:
main/src/check.rs#L124
error[E0507]: cannot move out of `self.common_cfg.features` which is behind a shared reference
--> main/src/check.rs:124:24
|
124 | cfg.features = self.common_cfg.features;
| ^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.common_cfg.features` has type `std::option::Option<std::string::String>`, which does not implement the `Copy` trait
|
help: consider cloning the value if the performance cost is acceptable
|
124 | cfg.features = self.common_cfg.features.clone();
| ++++++++
|