Implement the unsafe-fields RFC.
Co-Authored-By: Jacob Pratt <jacob@jhpratt.dev>
This commit is contained in:
parent
75703c1a78
commit
9022bb2d6f
38 changed files with 793 additions and 85 deletions
|
@ -3177,6 +3177,7 @@ pub struct FieldDef<'hir> {
|
|||
pub hir_id: HirId,
|
||||
pub def_id: LocalDefId,
|
||||
pub ty: &'hir Ty<'hir>,
|
||||
pub safety: Safety,
|
||||
}
|
||||
|
||||
impl FieldDef<'_> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue