rust/src/test/ui/structs/struct-fields-shorthand-unresolved.stderr

10 lines
348 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0425]: cannot find value `y` in this scope
2018-12-25 09:56:47 -06:00
--> $DIR/struct-fields-shorthand-unresolved.rs:10:9
2018-08-08 07:28:26 -05:00
|
LL | y //~ ERROR cannot find value `y` in this scope
| ^ help: a local variable with a similar name exists: `x`
2018-08-08 07:28:26 -05:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0425`.