fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
349 B11 linesraw
1error[E0560]: struct `Point` has no field named `nonexistent`
2  --> $DIR/issue-50618.rs:14:13
3   |
4LL |             nonexistent: 0,
5   |             ^^^^^^^^^^^ `Point` does not have this field
6   |
7   = note: available fields are: `x`, `y`
8
9error: aborting due to previous error
10
11For more information about this error, try `rustc --explain E0560`.