You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/unsafety.md
+3
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,9 @@ r[safety.unsafe-union-access]
21
21
r[safety.unsafe-call]
22
22
- Calling an unsafe function (including an intrinsic or foreign function).
23
23
24
+
r[safety.unsafe-target-feature-call]
25
+
- Calling a safe function marked with a [`target_feature`][attributes.codegen.target_feature] from a function that does not have a `target_feature` attribute enabling the same features (see [attributes.codegen.target_feature.safety-restrictions]).
0 commit comments