You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.
I think it would be good if the grammar tracked edition differences. I'm not sure how this should be done on a technical level (maybe some preprocessing step?), this issue is mainly to record the differences until it is decided how to encode them.
Trait functions cannot have anonymous parameters in 2018
In 2015, dyn is a weak keyword. It is context sensitive, so there are a variety of differences.
// Type expressions allowed in 2015, not 2018.
dyn +
// Type expressions allowed in both.
dyn // I don't know why this is allowed in 2018.// Interpreted differently.
dyn ::foo
New reserved keywords
The following keywords were added to 2018
async
await
try
async fn not allowed in 2015
The following fails to parse in 2015:
asyncfnf(){}
The text was updated successfully, but these errors were encountered:
I think it would be good if the grammar tracked edition differences. I'm not sure how this should be done on a technical level (maybe some preprocessing step?), this issue is mainly to record the differences until it is decided how to encode them.
Trait functions cannot have anonymous parameters in 2018
parse_trait_item_
dyn
weak keyword supportIn 2015,
dyn
is a weak keyword. It is context sensitive, so there are a variety of differences.New reserved keywords
The following keywords were added to 2018
async
await
try
async
fn not allowed in 2015The following fails to parse in 2015:
The text was updated successfully, but these errors were encountered: