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