1
Fork 0

Gate and validate #[rustc_safe_intrinsic]

This commit is contained in:
León Orell Valerian Liehr 2023-09-25 21:40:40 +02:00
parent aadb5718dd
commit f54db7c3a9
No known key found for this signature in database
GPG key ID: D17A07215F68E713
14 changed files with 79 additions and 11 deletions

View file

@ -648,6 +648,10 @@ passes_rustc_lint_opt_ty =
`#[rustc_lint_opt_ty]` should be applied to a struct
.label = not a struct
passes_rustc_safe_intrinsic =
attribute should be applied to intrinsic functions
.label = not an intrinsic function
passes_rustc_std_internal_symbol =
attribute should be applied to functions or statics
.label = not a function or static