1 error[E0609]: no field `b` on type `Foo`
2 --> $DIR/issue-24365.rs:20:22
4 LL | println!("{}", a.b); //~ no field `b` on type `Foo`
7 error[E0609]: no field `attr_name_idx` on type `&Attribute`
8 --> $DIR/issue-24365.rs:27:18
10 LL | let z = (&x).attr_name_idx; //~ no field `attr_name_idx` on type `&Attribute`
13 error[E0609]: no field `attr_name_idx` on type `Attribute`
14 --> $DIR/issue-24365.rs:28:15
16 LL | let y = x.attr_name_idx; //~ no field `attr_name_idx` on type `Attribute`
19 error: aborting due to 3 previous errors
21 For more information about this error, try `rustc --explain E0609`.