![]() We currently use `can_begin_literal_maybe_minus` in a couple of places where only string literals are allowed. This commit introduces a more specific function, which makes things clearer. It doesn't change behaviour because the two functions affected (`is_unsafe_foreign_mod` and `check_keyword_case`) are always followed by a call to `parse_abi`, which checks again for a string literal. |
||
---|---|---|
.. | ||
lexer | ||
parser | ||
errors.rs | ||
lib.rs | ||
validate_attr.rs |