summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-52717.stderr
blob: 468cdf2dcf9218d4004d9b414d1adcb2b7f770ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0026]: variant `A::A` does not have a field named `fob`
  --> $DIR/issue-52717.rs:10:12
   |
LL |     A::A { fob } => { println!("{}", fob); }
   |            ^^^
   |            |
   |            variant `A::A` does not have this field
   |            help: a field with a similar name exists: `foo`

error: aborting due to previous error

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