rust/tests/ui/parser/issues
Esteban Küber 6b2c6c7fd3 Detect ruby-style closure in parser
When parsing a closure without a body that is surrounded by a block,
suggest moving the opening brace after the closure head.

Fix #116608.
2023-10-12 21:50:18 +00:00
..
auxiliary
issue-87217-keyword-order
issue-1655.rs
issue-1655.stderr
issue-1802-1.rs
issue-1802-1.stderr
issue-1802-2.rs
issue-1802-2.stderr
issue-2354-1.rs
issue-2354-1.stderr
issue-2354.rs
issue-2354.stderr
issue-3036.fixed
issue-3036.rs
issue-3036.stderr
issue-5544-a.rs
issue-5544-a.stderr
issue-5544-b.rs
issue-5544-b.stderr
issue-5806.rs
issue-5806.stderr
issue-6610.rs
issue-6610.stderr
issue-7222.rs
issue-7970b.rs
issue-7970b.stderr
issue-8537.rs
issue-8537.stderr
issue-10392-2.fixed
issue-10392-2.rs
issue-10392-2.stderr
issue-10392.rs
issue-10392.stderr
issue-10636-1.rs
issue-10636-1.stderr
issue-10636-2.rs
issue-10636-2.stderr
issue-13483.rs
issue-13483.stderr
issue-14303-fncall.full.stderr
issue-14303-fncall.generic_arg.stderr
issue-14303-fncall.rs
issue-14303.rs
issue-14303.stderr
issue-15914.rs
issue-15914.stderr
issue-15980.rs Detect missing => after match guard during parsing 2023-10-03 21:21:02 +00:00
issue-15980.stderr Detect missing => after match guard during parsing 2023-10-03 21:21:02 +00:00
issue-17718-const-mut.rs
issue-17718-const-mut.stderr
issue-17904-2.rs
issue-17904-2.stderr Add explanatory note to 'expected item' error 2023-09-06 09:05:07 +05:30
issue-17904.rs
issue-17904.stderr
issue-19096.rs
issue-19096.stderr
issue-19398.rs
issue-19398.stderr
issue-20616-1.rs
issue-20616-1.stderr
issue-20616-2.rs
issue-20616-2.stderr
issue-20616-3.rs
issue-20616-3.stderr
issue-20616-4.rs
issue-20616-4.stderr
issue-20616-5.rs
issue-20616-5.stderr
issue-20616-6.rs
issue-20616-6.stderr
issue-20616-7.rs
issue-20616-7.stderr
issue-20616-8.rs
issue-20616-8.stderr
issue-20616-9.rs
issue-20616-9.stderr
issue-20711-2.rs
issue-20711-2.stderr
issue-20711.rs
issue-20711.stderr
issue-21146.rs
issue-21146.stderr
issue-21153.rs
issue-21153.stderr
issue-21475.rs
issue-22647.rs Suggests turbofish in patterns 2023-08-01 23:30:40 +08:00
issue-22647.stderr Suggests turbofish in patterns 2023-08-01 23:30:40 +08:00
issue-22712.rs Suggests turbofish in patterns 2023-08-01 23:30:40 +08:00
issue-22712.stderr Suggests turbofish in patterns 2023-08-01 23:30:40 +08:00
issue-23620-invalid-escapes.rs
issue-23620-invalid-escapes.stderr
issue-24197.rs
issue-24197.stderr
issue-24375.rs
issue-24375.stderr
issue-24780.rs
issue-24780.stderr
issue-27255.rs
issue-27255.stderr
issue-30318.fixed
issue-30318.rs
issue-30318.stderr
issue-31804.rs
issue-31804.stderr
issue-32214.rs
issue-32214.stderr
issue-32446.rs
issue-32446.stderr
issue-32501.rs
issue-32501.stderr
issue-32505.rs Detect ruby-style closure in parser 2023-10-12 21:50:18 +00:00
issue-32505.stderr Detect ruby-style closure in parser 2023-10-12 21:50:18 +00:00
issue-33262.rs
issue-33262.stderr
issue-33413.rs
issue-33413.stderr
issue-33418.rs Implement negative bounds 2023-05-02 22:36:24 +00:00
issue-33418.stderr Implement negative bounds 2023-05-02 22:36:24 +00:00
issue-33455.rs
issue-33455.stderr
issue-34222-1.rs
issue-34222-1.stderr
issue-34255-1.rs
issue-34255-1.stderr
issue-35813-postfix-after-cast.rs
issue-35813-postfix-after-cast.stderr
issue-41155.rs
issue-41155.stderr
issue-43196.rs
issue-43196.stderr Add explanatory note to 'expected item' error 2023-09-06 09:05:07 +05:30
issue-43692.rs
issue-43692.stderr
issue-44021.rs
issue-44021.stderr
issue-44406.rs
issue-44406.stderr
issue-45296.rs
issue-45296.stderr
issue-46186.fixed
issue-46186.rs
issue-46186.stderr
issue-48137-macros-cannot-interpolate-impl-items-bad-variants.rs
issue-48137-macros-cannot-interpolate-impl-items-bad-variants.stderr
issue-48137-macros-cannot-interpolate-impl-items.rs
issue-48508-aux.rs
issue-48508.rs
issue-48636.fixed
issue-48636.rs
issue-48636.stderr
issue-49040.rs
issue-49040.stderr
issue-51602.rs
issue-51602.stderr
issue-52496.rs
issue-52496.stderr Detect missing => after match guard during parsing 2023-10-03 21:21:02 +00:00
issue-54521-1.rs
issue-54521-2.fixed
issue-54521-2.rs
issue-54521-2.stderr
issue-54521-3.fixed
issue-54521-3.rs
issue-54521-3.stderr
issue-56031.rs
issue-56031.stderr
issue-57198.rs
issue-57198.stderr
issue-57684.fixed
issue-57684.rs
issue-57684.stderr
issue-57819.fixed
issue-57819.rs
issue-57819.stderr
issue-58094-missing-right-square-bracket.rs
issue-58094-missing-right-square-bracket.stderr
issue-58856-1.rs
issue-58856-1.stderr
issue-58856-2.rs
issue-58856-2.stderr
issue-59418.rs
issue-59418.stderr
issue-60075.rs
issue-60075.stderr
issue-62524.rs
issue-62524.stderr
issue-62546.rs
issue-62546.stderr
issue-62554.rs
issue-62554.stderr
issue-62660.rs
issue-62660.stderr
issue-62881.rs
issue-62881.stderr
issue-62894.rs
issue-62894.stderr
issue-62895.rs
issue-62895.stderr
issue-62913.rs
issue-62913.stderr Add explanatory note to 'expected item' error 2023-09-06 09:05:07 +05:30
issue-62973.rs
issue-62973.stderr
issue-63115-range-pat-interpolated.rs
issue-63116.rs
issue-63116.stderr
issue-63135.rs
issue-63135.stderr
issue-64732.rs
issue-64732.stderr
issue-65041-empty-vis-matcher-in-enum.rs
issue-65041-empty-vis-matcher-in-trait.rs
issue-65122-mac-invoc-in-mut-patterns.rs
issue-65122-mac-invoc-in-mut-patterns.stderr
issue-65257-invalid-var-decl-recovery.rs
issue-65257-invalid-var-decl-recovery.stderr
issue-65846-rollback-gating-failing-matcher.rs
issue-66357-unexpected-unreachable.rs
issue-66357-unexpected-unreachable.stderr
issue-66473.rs
issue-66473.stderr
issue-67146-negative-outlives-bound-syntactic-fail.fixed Implement negative bounds 2023-05-02 22:36:24 +00:00
issue-67146-negative-outlives-bound-syntactic-fail.rs Implement negative bounds 2023-05-02 22:36:24 +00:00
issue-67146-negative-outlives-bound-syntactic-fail.stderr Implement negative bounds 2023-05-02 22:36:24 +00:00
issue-67377-invalid-syntax-in-enum-discriminant.rs
issue-67377-invalid-syntax-in-enum-discriminant.stderr
issue-68000-unicode-ident-after-missing-comma.rs
issue-68000-unicode-ident-after-missing-comma.stderr
issue-68629.rs
issue-68629.stderr
issue-68730.rs
issue-68730.stderr
issue-68788-in-trait-item-propagation.rs
issue-68890-2.rs
issue-68890-2.stderr
issue-68890.rs
issue-68890.stderr Add explanatory note to 'expected item' error 2023-09-06 09:05:07 +05:30
issue-69259.rs
issue-69259.stderr
issue-70050-ntliteral-accepts-negated-lit.rs
issue-70388-recover-dotdotdot-rest-pat.rs
issue-70388-recover-dotdotdot-rest-pat.stderr
issue-70388-without-witness.fixed
issue-70388-without-witness.rs
issue-70388-without-witness.stderr
issue-70549-resolve-after-recovered-self-ctor.rs
issue-70549-resolve-after-recovered-self-ctor.stderr
issue-70552-ascription-in-parens-after-call.rs
issue-70552-ascription-in-parens-after-call.stderr
issue-70583-block-is-empty-1.rs
issue-70583-block-is-empty-1.stderr
issue-70583-block-is-empty-2.rs Clean up some bad ui testing annotations 2023-08-15 01:03:09 +00:00
issue-70583-block-is-empty-2.stderr Clean up some bad ui testing annotations 2023-08-15 01:03:09 +00:00
issue-72253.rs
issue-72253.stderr
issue-72373.rs
issue-72373.stderr
issue-73568-lifetime-after-mut.rs
issue-73568-lifetime-after-mut.stderr
issue-75599.rs
issue-76437-async.rs
issue-76437-async.stderr
issue-76437-const-async-unsafe.rs
issue-76437-const-async-unsafe.stderr
issue-76437-const-async.rs
issue-76437-const-async.stderr
issue-76437-const.rs
issue-76437-const.stderr
issue-76437-pub-crate-unsafe.rs
issue-76437-pub-crate-unsafe.stderr
issue-76437-unsafe.rs
issue-76437-unsafe.stderr
issue-76597.fixed
issue-76597.rs
issue-76597.stderr
issue-81806.rs
issue-81806.stderr
issue-83639.rs
issue-83639.stderr
issue-84104.rs
issue-84104.stderr
issue-84117.rs
issue-84117.stderr Add a note to duplicate diagnostics 2023-10-05 01:04:41 +00:00
issue-84148-1.rs
issue-84148-1.stderr
issue-84148-2.rs
issue-84148-2.stderr
issue-86895.rs
issue-86895.stderr
issue-87086-colon-path-sep.rs
issue-87086-colon-path-sep.stderr
issue-87197-missing-semicolon.fixed
issue-87197-missing-semicolon.rs
issue-87197-missing-semicolon.stderr
issue-87635.rs
issue-87635.stderr
issue-87812-path.rs
issue-87812-path.stderr
issue-87812.rs
issue-87812.stderr
issue-88276-unary-plus.fixed
issue-88276-unary-plus.rs
issue-88276-unary-plus.stderr
issue-88583-union-as-ident.rs
issue-88770.rs
issue-88770.stderr
issue-88818.rs
issue-88818.stderr
issue-89388.rs
issue-89388.stderr Tweak wording of missing angle backets in qualified path 2023-09-28 00:37:20 +00:00
issue-89396.fixed Detect missing => after match guard during parsing 2023-10-03 21:21:02 +00:00
issue-89396.rs Detect missing => after match guard during parsing 2023-10-03 21:21:02 +00:00
issue-89396.stderr Detect missing => after match guard during parsing 2023-10-03 21:21:02 +00:00
issue-89574.rs
issue-89574.stderr
issue-89971-outer-attr-following-inner-attr-ice.rs
issue-89971-outer-attr-following-inner-attr-ice.stderr
issue-90993.rs
issue-90993.stderr
issue-91461.rs
issue-91461.stderr
issue-93282.rs
issue-93282.stderr
issue-93867.rs
issue-93867.stderr
issue-94340.rs
issue-94340.stderr
issue-98601-delimiter-error-1.rs add UI test for delimiter errors 2023-09-21 23:20:47 +08:00
issue-98601-delimiter-error-1.stderr add UI test for delimiter errors 2023-09-21 23:20:47 +08:00
issue-98601-delimiter-error-unexpected-close.rs add UI test for delimiter errors 2023-09-21 23:20:47 +08:00
issue-98601-delimiter-error-unexpected-close.stderr add UI test for delimiter errors 2023-09-21 23:20:47 +08:00
issue-101540.rs
issue-101540.stderr
issue-102182-impl-trait-recover.rs
issue-102182-impl-trait-recover.stderr
issue-104088.rs
issue-104088.stderr
issue-104367.rs
issue-104367.stderr
issue-105209.rs
issue-105209.stderr
issue-108242-semicolon-recovery.rs
issue-108242-semicolon-recovery.stderr
issue-110014.rs
issue-110014.stderr
issue-111148.rs fix(parse): return unpected when current token is EOF 2023-05-13 00:33:27 +08:00
issue-111148.stderr fix(parse): return unpected when current token is EOF 2023-05-13 00:33:27 +08:00
issue-111416.rs fmt 2023-05-13 19:40:17 +08:00
issue-111416.stderr fmt 2023-05-13 19:40:17 +08:00
issue-111692.rs take care module name for suggesting surround the struct literal in parentheses 2023-06-10 06:28:35 +08:00
issue-111692.stderr reword the message to suggest surrounding with parentheses 2023-06-10 06:28:35 +08:00
issue-112458.rs Detect actual span for getting unexpected token from parsing macros 2023-06-11 14:36:20 +08:00
issue-112458.stderr Detect actual span for getting unexpected token from parsing macros 2023-06-11 14:36:20 +08:00
issue-113110-non-item-at-module-root.rs Add explanatory note to 'expected item' error 2023-09-06 09:05:07 +05:30
issue-113110-non-item-at-module-root.stderr Add explanatory note to 'expected item' error 2023-09-06 09:05:07 +05:30
issue-113203.rs relocate tests to pass tidy 2023-08-07 22:40:09 +08:00
issue-113203.stderr relocate tests to pass tidy 2023-08-07 22:40:09 +08:00
issue-114219.rs parser: more friendly hints for handling async move in the 2015 edition 2023-07-31 11:04:28 +08:00
issue-114219.stderr parser: more friendly hints for handling async move in the 2015 edition 2023-07-31 11:04:28 +08:00
issue-115780-pat-lt-bracket-in-macro-call.rs Only suggest turbofish in patterns if we may recover 2023-09-12 16:38:59 +02:00