rust/crates/ra_syntax/tests/data
Ryan Cumming b01496538c Support attributes on array members
Array members are allow to have attributes such as `#[cfg]`.

This is a bit tricky as we don't know if the first expression is an
initializer or a member until we encounter a `;`. This reuses a trick
from `stmt` where we remember if we saw an attribute and then raise an
error if the first expression ends up being an initializer.

This isn't perfect as the error isn't correctly located on the attribute
or initializer; it ends up immediately after the `;`.
2019-06-30 18:36:54 +10:00
..
lexer Refactor parser handle mult-char punct internally 2019-04-28 23:46:03 +08:00
parser Support attributes on array members 2019-06-30 18:36:54 +10:00
reparse/fuzz-failures Fix reparsing failure when removing newline 2019-03-22 08:09:11 +09:00