-
Notifications
You must be signed in to change notification settings - Fork 191
Open
Description
- Dereferencing raw pointers unsafe: Add UnsafeCheck visitor #1410
- Calls to unsafe functions unsafe: Check for unsafe function/method calls #1427
- Forbid calls to
asm!()
in safe contexts #1569 - Use of mutable static unsafe: check uses of static variables #1417
- Use of extern static unsafe: check uses of static variables #1417
- Access to a union's field unsafe: Add checks for union field accesses #1416
- Call to functions with
#[target(feature)]
attribute - Initializing type with
rustc_layout_scalar_valid_range
attribute - Mutation of layout constrained field
- Borrow of layout constrained field
I believe the last two are related to the Freeze lang item which we do not support yet.
From @bjorn3:
- Borrow of a packed struct's field (currently back compat lint in rustc, will be a hard error in the future)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Todo