diff options
author | inquisitivecrystal <22333129+inquisitivecrystal@users.noreply.github.com> | 2023-01-24 02:54:00 -0800 |
---|---|---|
committer | inquisitivecrystal <22333129+inquisitivecrystal@users.noreply.github.com> | 2023-01-24 03:51:01 -0800 |
commit | 6e04e678dca99db95c28a3aa7091d4fa800dfb61 (patch) | |
tree | 3da54292aa93f1936807c3e8d8708b2fbcd71080 /tests/rustdoc-js-std/parser-errors.js | |
parent | 05b7cc83707026de18dc49276db04a599781bbc2 (diff) | |
download | rust-6e04e678dca99db95c28a3aa7091d4fa800dfb61.tar.gz |
Make sure FFI attrs aren't used on foreign statics
Previously, we verified that FFI attrs were used on foreign items,
but this allowed them on both foreign functions and foreign statics.
This change only allows them on foreign functions.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions