1 error[E0404]: expected trait, found type alias `Strings`
2 --> $DIR/suggest-trait-alias-instead-of-type.rs:10:18
4 LL | struct Struct<S: Strings>(S);
5 | ^^^^^^^ type aliases cannot be used as traits
7 help: you might have meant to use `#![feature(trait_alias)]` instead of a `type` alias
9 LL | trait Strings = Iterator<Item=String>;
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0404`.