error[E0277]: the trait bound `String: Merge` is not satisfied --> tests/compile-fail/non_lattice_field.rs:3:10 | 3 | #[derive(Lattice)] | ^^^^^^^ the trait `Merge` is not implemented for `String` | = help: the following other types implement trait `Merge`: `()` implements `Merge<()>` `Conflict` implements `Merge>` `DomPair` implements `Merge>` `GhtInner` implements `Merge>` `GhtLeaf` implements `Merge>` `MapUnion` implements `Merge>` `MapUnionWithTombstones` implements `Merge>` `Max` implements `Merge>` and $N others = help: see issue #48214 = note: this error originates in the derive macro `Lattice` (in Nightly builds, run with -Z macro-backtrace for more info) help: add `#![feature(trivial_bounds)]` to the crate attributes to enable | 1 + #![feature(trivial_bounds)] | error[E0277]: the trait bound `String: IsBot` is not satisfied --> tests/compile-fail/non_lattice_field.rs:3:10 | 3 | #[derive(Lattice)] | ^^^^^^^ the trait `IsBot` is not implemented for `String` | = help: the following other types implement trait `IsBot`: () Conflict DomPair GhtInner GhtLeaf MapUnion MapUnionWithTombstones Max<()> and $N others = help: see issue #48214 = note: this error originates in the derive macro `Lattice` (in Nightly builds, run with -Z macro-backtrace for more info) help: add `#![feature(trivial_bounds)]` to the crate attributes to enable | 1 + #![feature(trivial_bounds)] | error[E0277]: the trait bound `String: IsTop` is not satisfied --> tests/compile-fail/non_lattice_field.rs:3:10 | 3 | #[derive(Lattice)] | ^^^^^^^ the trait `IsTop` is not implemented for `String` | = help: the following other types implement trait `IsTop`: () Conflict DomPair GhtInner GhtLeaf MapUnion MapUnionWithTombstones Max<()> and $N others = help: see issue #48214 = note: this error originates in the derive macro `Lattice` (in Nightly builds, run with -Z macro-backtrace for more info) help: add `#![feature(trivial_bounds)]` to the crate attributes to enable | 1 + #![feature(trivial_bounds)] | error[E0277]: the trait bound `String: LatticeFrom` is not satisfied --> tests/compile-fail/non_lattice_field.rs:3:10 | 3 | #[derive(Lattice)] | ^^^^^^^ the trait `LatticeFrom` is not implemented for `String` | = help: the following other types implement trait `LatticeFrom`: `()` implements `LatticeFrom<()>` `Conflict` implements `LatticeFrom>` `DomPair` implements `LatticeFrom>` `MapUnion` implements `LatticeFrom>` `MapUnionWithTombstones` implements `LatticeFrom>` `Max` implements `LatticeFrom>` `Min` implements `LatticeFrom>` `NotALattice` implements `LatticeFrom` and $N others = help: see issue #48214 = note: this error originates in the derive macro `Lattice` (in Nightly builds, run with -Z macro-backtrace for more info) help: add `#![feature(trivial_bounds)]` to the crate attributes to enable | 1 + #![feature(trivial_bounds)] |