about summary refs log tree commit diff
path: root/tests/ui/consts/error-is-freeze.stderr
blob: f3bfd1ea5e293062a4336d6e7167dd69187d8625 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0412]: cannot find type `UndefinedType` in this scope
  --> $DIR/error-is-freeze.rs:4:17
   |
LL |     foo: Option<UndefinedType>,
   |                 ^^^^^^^^^^^^^ not found in this scope
   |
help: you might be missing a type parameter
   |
LL | struct MyStruct<UndefinedType> {
   |                +++++++++++++++

error: aborting due to 1 previous error

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