mirror of
https://github.com/nushell/nushell.git
synced 2025-01-23 23:00:01 +01:00
5d283755e3
Without this change, projects which depend on both nu-command and rust_decimal's "rkyv" feature cause nu-command to fail to compile. ```toml [dependencies] nu-command = { path = "../nushell/crates/nu-command" } rust_decimal = { version = "1", features = ["rkyv"] } ``` ```console error[E0277]: can't compare `std::option::Option<&str>` with `std::option::Option<&std::string::String>` --> nushell/crates/nu-command/src/filters/join.rs:367:35 | 367 | let k_shared = shared_key == Some(k); | ^^ no implementation for `std::option::Option<&str> == std::option::Option<&std::string::String>` | = help: the trait `PartialEq<std::option::Option<&std::string::String>>` is not implemented for `std::option::Option<&str>` = help: the following other types implement trait `PartialEq<Rhs>`: <std::option::Option<Box<U>> as PartialEq<rkyv::niche::option_box::ArchivedOptionBox<T>>> <std::option::Option<T> as PartialEq> <std::option::Option<U> as PartialEq<rkyv::option::ArchivedOption<T>>> For more information about this error, try `rustc --explain E0277`. warning: `nu-command` (lib) generated 1 warning error: could not compile `nu-command` (lib) due to previous error; 1 warning emitted ``` |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml | ||
LICENSE |