summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/type-not-found-in-adt-field.stderr
blob: 934ba87bbaa8872fd649cbc22920c9c4a5c7bb05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
error[E0412]: cannot find type `Someunknownname` in this scope
  --> $DIR/type-not-found-in-adt-field.rs:2:12
   |
LL |     m: Vec<Someunknownname<String, ()>>,
   |            ^^^^^^^^^^^^^^^ not found in this scope

error[E0412]: cannot find type `K` in this scope
  --> $DIR/type-not-found-in-adt-field.rs:6:8
   |
LL |     m: K,
   |        ^ not found in this scope
   |
help: you might be missing a type parameter
   |
LL | struct OtherStruct<K> {
   |                   +++

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0412`.