1
Fork 0

check link ordinal make sure target is foreign function

This commit is contained in:
yukang 2022-08-03 11:30:27 +08:00
parent 792bc5a010
commit 0d1b832667
5 changed files with 64 additions and 0 deletions

View file

@ -262,3 +262,6 @@ passes-rustc-lint-opt-ty = `#[rustc_lint_opt_ty]` should be applied to a struct
passes-rustc-lint-opt-deny-field-access = `#[rustc_lint_opt_deny_field_access]` should be applied to a field
.label = not a field
passes-link-ordinal = attribute should be applied to a foreign function
.label = not a foreign function