rust/tests/ui/issues/issue-24365.stderr

22 lines
582 B
Plaintext
Raw Normal View History

2018-07-15 16:11:54 -05:00
error[E0609]: no field `b` on type `Foo`
2018-12-25 09:56:47 -06:00
--> $DIR/issue-24365.rs:10:22
2018-07-15 16:11:54 -05:00
|
2019-03-09 06:03:44 -06:00
LL | println!("{}", a.b);
2018-07-15 16:11:54 -05:00
| ^
error[E0609]: no field `attr_name_idx` on type `&Attribute`
2018-12-25 09:56:47 -06:00
--> $DIR/issue-24365.rs:17:18
2018-07-15 16:11:54 -05:00
|
2019-03-09 06:03:44 -06:00
LL | let z = (&x).attr_name_idx;
2018-07-15 16:11:54 -05:00
| ^^^^^^^^^^^^^
error[E0609]: no field `attr_name_idx` on type `Attribute`
2018-12-25 09:56:47 -06:00
--> $DIR/issue-24365.rs:18:15
2018-07-15 16:11:54 -05:00
|
2019-03-09 06:03:44 -06:00
LL | let y = x.attr_name_idx;
2018-07-15 16:11:54 -05:00
| ^^^^^^^^^^^^^
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0609`.