rust-analyzer/crates/ra_syntax/tests/data/parser/inline/err
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
..
0001_array_type_missing_semi.rs Fix the tests and fix the precommit hook 2018-12-20 16:45:54 +00:00
0001_array_type_missing_semi.txt show error offsets in tests 2019-05-29 10:31:07 +03:00
0002_misplaced_label_err.rs Fix the tests and fix the precommit hook 2018-12-20 16:45:54 +00:00
0002_misplaced_label_err.txt show error offsets in tests 2019-05-29 10:31:07 +03:00
0003_pointer_type_no_mutability.rs Fix the tests and fix the precommit hook 2018-12-20 16:45:54 +00:00
0003_pointer_type_no_mutability.txt show error offsets in tests 2019-05-29 10:31:07 +03:00
0004_impl_type.rs Fix the tests and fix the precommit hook 2018-12-20 16:45:54 +00:00
0004_impl_type.txt show error offsets in tests 2019-05-29 10:31:07 +03:00
0005_fn_pointer_type_missing_fn.rs Fix the tests and fix the precommit hook 2018-12-20 16:45:54 +00:00
0005_fn_pointer_type_missing_fn.txt show error offsets in tests 2019-05-29 10:31:07 +03:00
0006_unsafe_block_in_mod.rs Fix the tests and fix the precommit hook 2018-12-20 16:45:54 +00:00
0006_unsafe_block_in_mod.txt show error offsets in tests 2019-05-29 10:31:07 +03:00
0007_async_without_semicolon.rs Add test for async block 2019-03-10 14:35:25 -03:00
0007_async_without_semicolon.txt show error offsets in tests 2019-05-29 10:31:07 +03:00
0008_pub_expr.rs Use Marker argument for item parsers 2019-03-18 14:34:08 +09:00
0008_pub_expr.txt show error offsets in tests 2019-05-29 10:31:07 +03:00
0009_attr_on_expr_not_allowed.rs Error about attributes on 2019-03-19 17:37:08 +09:00
0009_attr_on_expr_not_allowed.txt show error offsets in tests 2019-05-29 10:31:07 +03:00
0010_bad_tuple_index_expr.rs Parse and infer tuple indices 2019-04-06 01:07:35 +02:00
0010_bad_tuple_index_expr.txt show error offsets in tests 2019-05-29 10:31:07 +03:00
0010_wrong_order_fns.rs Parse unsafe async / const unsafe fns properly 2019-04-03 17:11:56 +02:00
0010_wrong_order_fns.txt fix: support existential type 2019-06-12 14:32:39 +00:00
0014_default_fn_type.rs fix: specialization(with blindly parsing) 2019-06-19 18:37:38 +08:00
0014_default_fn_type.txt fix: specialization(with blindly parsing) 2019-06-19 18:37:38 +08:00
0015_array_length_attributes.rs Support attributes on array members 2019-06-30 18:36:54 +10:00
0015_array_length_attributes.txt Support attributes on array members 2019-06-30 18:36:54 +10:00