fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error[E0609]: no field `opts` on type `*const Session` 2 --> $DIR/parenthesized-deref-suggestion.rs:7:30 3 | 4LL | (sess as *const Session).opts; 5 | ^^^^ 6 | 7help: `(sess as *const Session)` is a raw pointer; try dereferencing it 8 | 9LL | (*(sess as *const Session)).opts; 10 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11 12error[E0609]: no field `0` on type `[u32; 1]` 13 --> $DIR/parenthesized-deref-suggestion.rs:10:21 14 | 15LL | (x as [u32; 1]).0; 16 | ----------------^ 17 | | 18 | help: instead of using tuple indexing, use array indexing: `(x as [u32; 1])[0]` 19 20error: aborting due to 2 previous errors 21 22For more information about this error, try `rustc --explain E0609`.