summary refs log tree commit diff
path: root/src/test/ui/issues/issue-17800.stderr
blob: 6efc7f0c06e11c58686239a14fa0949094fda6a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0026]: variant `MyOption::MySome` does not have a field named `x`
  --> $DIR/issue-17800.rs:8:28
   |
LL |         MyOption::MySome { x: 42 } => (),
   |                            ^
   |                            |
   |                            variant `MyOption::MySome` does not have this field
   |                            help: a field with a similar name exists: `0`

error: aborting due to previous error

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