summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0559.stderr
blob: 63ee1cd78201afda65d6acab250ec8347296c76e (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0559]: variant `Field::Fool` has no field named `joke`
  --> $DIR/E0559.rs:6:27
   |
LL |     let s = Field::Fool { joke: 0 };
   |                           ^^^^ `Field::Fool` does not have this field
   |
   = note: available fields are: `x`

error: aborting due to previous error

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