summaryrefslogtreecommitdiffstats
path: root/src/test/ui/suggestions/type-not-found-in-adt-field.rs
blob: 4cbfe58d357038ac3e4d6157ea6d60c1cb41df2b (plain)
1
2
3
4
5
6
7
8
9
struct Struct {
    m: Vec<Someunknownname<String, ()>>, //~ ERROR cannot find type `Someunknownname` in this scope
    //~^ NOTE not found in this scope
}
struct OtherStruct { //~ HELP you might be missing a type parameter
    m: K, //~ ERROR cannot find type `K` in this scope
    //~^ NOTE not found in this scope
}
fn main() {}