syn
syn copied to clipboard
accept_as_ident does not reject Rust 2018 keywords
When parsing identifiers, accept_as_ident
is used to reject those strings which are keywords. This does not include Rust 2018 keywords such as async
and try
. Additionally, the linked resource for keywords has moved and can now be found here.