rust/crates/ra_syntax/test_data/parser/err
Aleksey Kladov f6188caaa0 Fix parsing lambdas with return type
We should eat only a single block, and not whatever larger expression
may start with a block.

closes #3721
2020-03-25 17:01:28 +01:00
..
0000_struct_field_missing_comma.rs
0000_struct_field_missing_comma.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0001_item_recovery_in_file.rs
0001_item_recovery_in_file.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0002_duplicate_shebang.rs
0002_duplicate_shebang.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0003_C++_semicolon.rs
0003_C++_semicolon.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0004_use_path_bad_segment.rs
0004_use_path_bad_segment.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0005_attribute_recover.rs
0005_attribute_recover.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0006_named_field_recovery.rs
0006_named_field_recovery.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0007_stray_curly_in_file.rs
0007_stray_curly_in_file.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0008_item_block_recovery.rs
0008_item_block_recovery.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0009_broken_struct_type_parameter.rs
0009_broken_struct_type_parameter.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0010_unsafe_lambda_block.rs
0010_unsafe_lambda_block.txt Fix parsing lambdas with return type 2020-03-25 17:01:28 +01:00
0011_extern_struct.rs
0011_extern_struct.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0012_broken_lambda.txt
0013_invalid_type.rs
0013_invalid_type.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0014_where_no_bounds.rs
0014_where_no_bounds.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0015_curly_in_params.rs
0015_curly_in_params.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0016_missing_semi.rs
0016_missing_semi.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0017_incomplete_binexpr.rs
0017_incomplete_binexpr.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0018_incomplete_fn.rs
0018_incomplete_fn.txt Rename ast::ImplBlock -> ast::ImplDef 2020-02-29 21:33:15 +01:00
0019_let_recover.rs
0019_let_recover.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0020_fn_recover.rs
0020_fn_recover.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0021_incomplete_param.rs
0021_incomplete_param.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0022_bad_exprs.rs
0022_bad_exprs.txt Rename ast::ImplBlock -> ast::ImplDef 2020-02-29 21:33:15 +01:00
0023_mismatched_paren.rs
0023_mismatched_paren.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0024_many_type_parens.rs
0024_many_type_parens.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0025_nope.rs
0025_nope.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0026_imp_recovery.rs
0026_imp_recovery.txt Rename ast::ImplBlock -> ast::ImplDef 2020-02-29 21:33:15 +01:00
0027_incomplere_where_for.rs
0027_incomplere_where_for.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0029_field_completion.rs
0029_field_completion.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0031_block_inner_attrs.rs
0031_block_inner_attrs.txt Parse correct AttrInput 2019-09-30 16:11:40 +08:00
0032_match_arms_inner_attrs.rs
0032_match_arms_inner_attrs.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0033_match_arms_outer_attrs.rs
0033_match_arms_outer_attrs.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0034_bad_box_pattern.rs
0034_bad_box_pattern.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0035_use_recover.rs
0035_use_recover.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0036_partial_use.rs fix infinite loop in the parser 2019-09-20 16:57:31 +03:00
0036_partial_use.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00
0037_visibility_in_traits.rs Forbid visibility qualifiers in traits 2019-11-11 11:26:57 +03:00
0037_visibility_in_traits.txt Rename ast::ImplBlock -> ast::ImplDef 2020-02-29 21:33:15 +01:00
0038_endless_inclusive_range.rs Move inclusive range check to validation 2019-11-15 01:04:45 -08:00
0038_endless_inclusive_range.txt Attempt to implement typed accessors 2019-11-15 12:05:29 -08:00
0039_lambda_recovery.rs Improve recovery for incomplete lambdas 2019-12-17 12:11:01 +01:00
0039_lambda_recovery.txt ra_syntax: migrate test data to 0-length text-range of SyntaxError when constructed from TextUnit 2020-02-17 23:14:31 +02:00