fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

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