]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/type-not-found-in-adt-field.rs
Rollup merge of #107264 - ferrocene:pa-private-items, r=Mark-Simulacrum
[rust.git] / tests / ui / suggestions / type-not-found-in-adt-field.rs
1 struct Struct {
2     m: Vec<Someunknownname<String, ()>>, //~ ERROR cannot find type `Someunknownname` in this scope
3     //~^ NOTE not found in this scope
4 }
5 struct OtherStruct { //~ HELP you might be missing a type parameter
6     m: K, //~ ERROR cannot find type `K` in this scope
7     //~^ NOTE not found in this scope
8 }
9 fn main() {}