check link ordinal make sure target is foreign function
This commit is contained in:
parent
792bc5a010
commit
0d1b832667
5 changed files with 64 additions and 0 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue