diff options
| author | bors <bors@rust-lang.org> | 2024-10-20 14:22:31 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-10-20 14:22:31 +0000 |
| commit | 5f404f057431bc3a44f04f1bd7a06c7c4edd9b7e (patch) | |
| tree | 373893118d87516fc56d9f1d2405a14373783c13 /tests/rustdoc-js-std/parser-errors.js | |
| parent | 0c374048b6bb23d1d5c908d0636e99c144b67f7e (diff) | |
| parent | 1b90ae48926850fbada77692c48f1fd5eee85cd8 (diff) | |
| download | rust-5f404f057431bc3a44f04f1bd7a06c7c4edd9b7e.tar.gz rust-5f404f057431bc3a44f04f1bd7a06c7c4edd9b7e.zip | |
Auto merge of #18350 - roife:safe-kw-1, r=lnicola
feat: initial support for safe_kw in extern blocks This PR adds initial support for `safe` keywords in external blocks. ## Changes 1. Parsing static declarations with `safe` kw and `unsafe` kw, as well as functions with `safe` kw in extern_blocks 2. Add `HAS_SAFE_KW ` to `FnFlags` 3. Handle `safe` kw in `is_fn_unsafe_to_call` query 4. Handle safe_kw in unsafe diagnostics
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions
