error[E0277]: the trait bound `Standard: Distribution` is not satisfied --> tests/rand/08-fail-for-struct-enum.rs:3:10 | 3 | #[derive(Rand)] | ^^^^ the trait `Distribution` is not implemented for `Standard` | = help: the following other types implement trait `Distribution`: > > > > > > > > and $N others = note: required for `String` to implement `Rand` = note: this error originates in the derive macro `Rand` (in Nightly builds, run with -Z macro-backtrace for more info)