]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/suggestions/parenthesized-deref-suggestion.rs
6 let sess
: &Session
= &Session { opts: 0 }
;
7 (sess
as *const Session
).opts
; //~ ERROR no field `opts` on type `*const Session`
10 (x
as [u32; 1]).0; //~ ERROR no field `0` on type `[u32; 1]`