Allow audited type-erased Send fields
This commit is contained in:
@@ -34,6 +34,11 @@ shadow_reuse = "deny"
|
||||
shadow_same = "deny"
|
||||
shadow_unrelated = "deny"
|
||||
|
||||
# The wrappers' private field is deliberately type-erased and therefore cannot
|
||||
# express Send/Sync structurally. Their audited APIs preserve the element bounds
|
||||
# documented on the corresponding unsafe implementations.
|
||||
non_send_fields_in_send_ty = { level = "allow", priority = 1 }
|
||||
|
||||
# Force using expect and providing a reason
|
||||
allow_attributes = "deny"
|
||||
allow_attributes_without_reason = "deny"
|
||||
|
||||
Reference in New Issue
Block a user