error[E0277]: the trait bound `std::option::Option: Extend` is not satisfied --> tests/deserializer/cases/04_not_vec.rs:3:1 | 3 | #[duplicate_keys] | ^^^^^^^^^^^^^^^^^ the trait `Extend` is not implemented for `std::option::Option` | = help: the following other types implement trait `Extend`: `()` implements `Extend<()>` `(ExtendA, ExtendB)` implements `Extend<(A, B)>` `BTreeMap` implements `Extend<(&'a K, &'a V)>` `BTreeMap` implements `Extend<(K, V)>` `BTreeSet` implements `Extend<&'a T>` `BTreeSet` implements `Extend` `BinaryHeap` implements `Extend<&'a T>` `BinaryHeap` implements `Extend` `HashMap` implements `Extend<(&'a K, &'a V)>` `HashMap` implements `Extend<(K, V)>` `HashSet` implements `Extend<&'a T>` `HashSet` implements `Extend` `LinkedList` implements `Extend<&'a T>` `LinkedList` implements `Extend` `OsString` implements `Extend<&'a OsStr>` `OsString` implements `Extend>` `OsString` implements `Extend` `PathBuf` implements `Extend

` `Vec` implements `Extend<&'a T>` `Vec` implements `Extend` `VecDeque` implements `Extend<&'a T>` `VecDeque` implements `Extend` `hashbrown::map::HashMap` implements `Extend<&'a (K, V)>` `hashbrown::map::HashMap` implements `Extend<(&'a K, &'a V)>` `hashbrown::map::HashMap` implements `Extend<(K, V)>` `hashbrown::set::HashSet` implements `Extend<&'a T>` `hashbrown::set::HashSet` implements `Extend` `std::string::String` implements `Extend<&'a char>` `std::string::String` implements `Extend<&'a str>` `std::string::String` implements `Extend>` `std::string::String` implements `Extend>` `std::string::String` implements `Extend` `std::string::String` implements `Extend` `std::sys_common::wtf8::Wtf8Buf` implements `Extend` note: required by a bound in `>::visit_map::_::{closure#0}::assert_impl_all` --> tests/deserializer/cases/04_not_vec.rs:3:1 | 3 | #[duplicate_keys] | ^^^^^^^^^^^^^^^^^ required by this bound in `assert_impl_all` = note: this error originates in the attribute macro `duplicate_keys` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0599]: no variant or associated item named `new` found for enum `std::option::Option` in the current scope --> tests/deserializer/cases/04_not_vec.rs:3:1 | 3 | #[duplicate_keys] | ^^^^^^^^^^^^^^^^^ variant or associated item not found in `Option<_>` | help: there is a method `ne` with a similar name, but with different arguments --> $RUST/core/src/cmp.rs | | fn ne(&self, other: &Rhs) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: this error originates in the attribute macro `duplicate_keys` (in Nightly builds, run with -Z macro-backtrace for more info)