mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-30 12:07:40 +00:00
![]() Optimize the diagnostic generation for `extern unsafe` This PR does the following about diagnostic generation when parsing foreign mod: 1. Fixes the FIXME about avoiding depending on the error message text. 2. Continue parsing when `unsafe` is followed by `{` (just like `unsafe extern {...}`). 3. Add test case. |
||
---|---|---|
.. | ||
attr_wrapper.rs | ||
attr.rs | ||
diagnostics.rs | ||
expr.rs | ||
generics.rs | ||
item.rs | ||
mod.rs | ||
nonterminal.rs | ||
pat.rs | ||
path.rs | ||
stmt.rs | ||
ty.rs |