Add unsafe to ffi_pure and ffi_const
This commit is contained in:
@@ -535,11 +535,11 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
|
||||
),
|
||||
|
||||
gated!(
|
||||
ffi_pure, Normal, template!(Word), WarnFollowing,
|
||||
unsafe ffi_pure, Normal, template!(Word), WarnFollowing,
|
||||
EncodeCrossCrate::No, experimental!(ffi_pure)
|
||||
),
|
||||
gated!(
|
||||
ffi_const, Normal, template!(Word), WarnFollowing,
|
||||
unsafe ffi_const, Normal, template!(Word), WarnFollowing,
|
||||
EncodeCrossCrate::No, experimental!(ffi_const)
|
||||
),
|
||||
gated!(
|
||||
|
||||
Reference in New Issue
Block a user