rust/src/test/ui/parser
Mazdak Farrokhzad e5da1a12e7
Rollup merge of #66054 - petrochenkov:delspan, r=estebank
syntax: Avoid span arithmetic for delimiter tokens

The +/-1 logic is from the time where the whole group had a single span and the delimiter spans had to be calculated from it.
Now the delimiters have their own spans which are constructed by lexer or proc macro API and can be used directly.
If those spans are not perfect, then it should be fixed by tweaking the corresponding lexer logic rather than by trying to add or substract `1` from the span boundaries.

Fixes https://github.com/rust-lang/rust/issues/62524
r? @estebank
2019-11-06 03:28:09 +01:00
..
macro syntax: Avoid span arithmetics for delimiter tokens 2019-11-03 14:58:12 +03:00
mismatched-braces Do not complain about missing fn main() in some cases 2019-10-30 12:05:26 -07:00
raw Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
ascii-only-character-escape.rs
ascii-only-character-escape.stderr
assoc-oddities-1.rs
assoc-oddities-1.stderr
assoc-oddities-2.rs
assoc-oddities-2.stderr
assoc-type-in-type-arg.rs review comments: wording 2019-09-21 18:57:37 -07:00
assoc-type-in-type-arg.stderr review comments: wording 2019-09-21 18:57:37 -07:00
associated-types-project-from-hrtb-explicit.rs
associated-types-project-from-hrtb-explicit.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
attr-bad-meta-2.rs
attr-bad-meta-2.stderr
attr-bad-meta-3.rs
attr-bad-meta-3.stderr
attr-bad-meta.rs
attr-bad-meta.stderr
attr-before-eof.rs
attr-before-eof.stderr
attr-dangling-in-fn.rs
attr-dangling-in-fn.stderr
attr-dangling-in-mod.rs
attr-dangling-in-mod.stderr
attr.rs
attr.stderr
attrs-after-extern-mod.rs
attrs-after-extern-mod.stderr
bad-char-literals.rs
bad-char-literals.stderr
bad-lit-suffixes.rs
bad-lit-suffixes.stderr
bad-match.rs parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
bad-match.stderr parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
bad-name.rs
bad-name.stderr parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
bad-pointer-type.rs
bad-pointer-type.stderr
bad-value-ident-false.rs
bad-value-ident-false.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
bad-value-ident-true.rs
bad-value-ident-true.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
better-expected.rs
better-expected.stderr
bind-struct-early-modifiers.rs
bind-struct-early-modifiers.stderr
bound-single-question-mark.rs
bound-single-question-mark.stderr
bounds-lifetime-1.rs
bounds-lifetime-1.stderr
bounds-lifetime-2.rs
bounds-lifetime-2.stderr
bounds-lifetime-where-1.rs
bounds-lifetime-where-1.stderr
bounds-lifetime-where.rs
bounds-lifetime-where.stderr
bounds-lifetime.rs
bounds-lifetime.stderr
bounds-obj-parens.rs
bounds-type-where.rs
bounds-type-where.stderr
bounds-type.rs
bounds-type.stderr
brace-after-qualified-path-in-match.rs
brace-after-qualified-path-in-match.stderr
byte-literals.rs
byte-literals.stderr
byte-string-literals.rs
byte-string-literals.stderr
circular_modules_hello.rs
circular_modules_main.rs
circular_modules_main.stderr
class-implements-bad-trait.rs
class-implements-bad-trait.stderr
closure-return-syntax.rs
closure-return-syntax.stderr
column-offset-1-based.rs
column-offset-1-based.stderr
default.rs
default.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
do-catch-suggests-try.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
do-catch-suggests-try.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
doc-after-struct-field.rs
doc-after-struct-field.stderr
doc-before-attr.rs
doc-before-attr.stderr
doc-before-eof.rs
doc-before-eof.stderr
doc-before-extern-rbrace.rs
doc-before-extern-rbrace.stderr
doc-before-fn-rbrace.rs
doc-before-fn-rbrace.stderr
doc-before-identifier.rs
doc-before-identifier.stderr
doc-before-mod-rbrace.rs
doc-before-mod-rbrace.stderr
doc-before-rbrace.rs
doc-before-rbrace.stderr
doc-before-semi.rs Update tests for excess semicolon lint 2019-08-12 10:14:07 -04:00
doc-before-semi.stderr Update tests for excess semicolon lint 2019-08-12 10:14:07 -04:00
doc-before-struct-rbrace-1.rs
doc-before-struct-rbrace-1.stderr
doc-before-struct-rbrace-2.rs
doc-before-struct-rbrace-2.stderr
doc-comment-in-if-statement.rs
doc-comment-in-if-statement.stderr
doc-inside-trait-item.rs
doc-inside-trait-item.stderr Update ui tests 2019-10-17 14:19:27 +02:00
duplicate-visibility.rs
duplicate-visibility.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
empty-impl-semicolon.rs
empty-impl-semicolon.stderr
expr-as-stmt.fixed
expr-as-stmt.rs
expr-as-stmt.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
extern-crate-unexpected-token.rs
extern-crate-unexpected-token.stderr
extern-expected-fn-or-brace.rs Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
extern-expected-fn-or-brace.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
extern-foreign-crate.rs
extern-foreign-crate.stderr
extern-no-fn.rs
extern-no-fn.stderr
fn-arg-doc-comment.rs Stabilize param_attrs in Rust 1.39.0 2019-09-11 10:13:43 -03:00
fn-arg-doc-comment.stderr Stabilize param_attrs in Rust 1.39.0 2019-09-11 10:13:43 -03:00
if-in-in.rs
if-in-in.stderr
impl-parsing.rs
impl-parsing.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
impl-qpath.rs
import-from-path.rs
import-from-path.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
import-from-rename.rs
import-from-rename.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
import-glob-path.rs
import-glob-path.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
import-glob-rename.rs
import-glob-rename.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
inner-attr-after-doc-comment.rs
inner-attr-after-doc-comment.stderr
inner-attr.rs
inner-attr.stderr
int-literal-too-large-span.rs
int-literal-too-large-span.stderr
intersection-patterns.rs pprust: p1@p2 -> p1 @ p2 2019-10-14 18:12:04 +02:00
intersection-patterns.stderr pprust: p1@p2 -> p1 @ p2 2019-10-14 18:12:04 +02:00
inverted-parameters.rs parser: gracefully handle fn foo(A | B: type). 2019-08-25 05:45:19 +02:00
inverted-parameters.stderr parser: gracefully handle fn foo(A | B: type). 2019-08-25 05:45:19 +02:00
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 Do not complain about missing fn main() in some cases 2019-10-30 12:05:26 -07:00
issue-2354.stderr Do not complain about missing fn main() in some cases 2019-10-30 12:05:26 -07:00
issue-3036.rs Use heuristics to recover parsing of missing ; 2019-10-28 10:53:13 -07:00
issue-3036.stderr Use heuristics to recover parsing of missing ; 2019-10-28 10:53:13 -07:00
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-8537.rs
issue-8537.stderr Add new EFIAPI ABI 2019-10-25 13:01:25 +00:00
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-14303-enum.rs
issue-14303-enum.stderr
issue-14303-fn-def.rs
issue-14303-fn-def.stderr
issue-14303-fncall.rs
issue-14303-fncall.stderr
issue-14303-impl.rs
issue-14303-impl.stderr
issue-14303-path.rs
issue-14303-path.stderr
issue-14303-struct.rs
issue-14303-struct.stderr
issue-14303-trait.rs
issue-14303-trait.stderr
issue-15914.rs
issue-15914.stderr
issue-15980.rs Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
issue-15980.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
issue-17383.rs
issue-17383.stderr
issue-17718-const-mut.rs
issue-17718-const-mut.stderr
issue-17904-2.rs
issue-17904-2.stderr
issue-17904.rs
issue-17904.stderr
issue-19096.rs
issue-19096.stderr
issue-19398.rs Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
issue-19398.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
issue-20711-2.rs Update syntax in existing tests 2019-08-02 02:44:35 +01:00
issue-20711-2.stderr Update syntax in existing tests 2019-08-02 02:44:35 +01:00
issue-20711.rs Update syntax in existing tests 2019-08-02 02:44:35 +01:00
issue-20711.stderr Update syntax in existing tests 2019-08-02 02:44:35 +01:00
issue-21153.rs
issue-21153.stderr
issue-22647.rs parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
issue-22647.stderr parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
issue-22712.rs parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
issue-22712.stderr parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
issue-23620-invalid-escapes.rs
issue-23620-invalid-escapes.stderr
issue-24197.rs parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
issue-24197.stderr parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
issue-24375.rs
issue-24375.stderr
issue-24780.rs
issue-24780.stderr
issue-27255.rs
issue-27255.stderr
issue-30318.rs
issue-30318.stderr
issue-32214.rs
issue-32214.stderr
issue-32446.rs
issue-32446.stderr
issue-32501.rs Improve 'mut ' diagnostic. 2019-08-27 23:44:44 +02:00
issue-32501.stderr Improve 'mut ' diagnostic. 2019-08-27 23:44:44 +02:00
issue-32505.rs
issue-32505.stderr
issue-33262.rs
issue-33262.stderr
issue-33413.rs syntax: unify and simplify fn signature parsing. 2019-10-07 06:01:38 +02:00
issue-33413.stderr syntax: unify and simplify fn signature parsing. 2019-10-07 06:01:38 +02:00
issue-33418.fixed
issue-33418.rs
issue-33418.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
issue-33455.rs
issue-33455.stderr
issue-41155.rs
issue-41155.stderr Update syntax in existing tests 2019-08-02 02:44:35 +01:00
issue-43692.rs
issue-43692.stderr
issue-59418.rs
issue-59418.stderr
issue-62546.rs
issue-62546.stderr
issue-62660.rs
issue-62660.stderr
issue-62881.rs
issue-62881.stderr review comments: typo and rewording 2019-08-09 07:18:05 -07:00
issue-62895.rs
issue-62895.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
issue-62913.rs
issue-62913.stderr
issue-62973.rs
issue-62973.stderr Rollup merge of #66054 - petrochenkov:delspan, r=estebank 2019-11-06 03:28:09 +01:00
issue-63115-range-pat-interpolated.rs Account for maybe_whole_expr in range patterns. 2019-07-30 04:22:09 +02:00
issue-63135.rs parser: gracefully handle fn foo(A | B: type). 2019-08-25 05:45:19 +02:00
issue-63135.stderr syntax: Avoid span arithmetics for delimiter tokens 2019-11-03 14:58:12 +03:00
issue-65122-mac-invoc-in-mut-patterns.rs Account for macro invocation in let mut $pat diagnostic. 2019-10-05 04:34:26 +02:00
issue-65122-mac-invoc-in-mut-patterns.stderr Account for macro invocation in let mut $pat diagnostic. 2019-10-05 04:34:26 +02:00
keyword-abstract.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-abstract.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-as-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-as-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-box-as-identifier.rs
keyword-box-as-identifier.stderr
keyword-break-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-break-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-const-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-const-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-continue-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-continue-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-else-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-else-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-enum-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-enum-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-final.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-final.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-fn-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-fn-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-for-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-for-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-if-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-if-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-impl-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-impl-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-in-as-identifier.rs
keyword-in-as-identifier.stderr
keyword-let-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-let-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-loop-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-loop-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-match-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-match-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-mod-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-mod-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-move-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-move-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-mut-as-identifier.rs
keyword-mut-as-identifier.stderr
keyword-override.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-override.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-pub-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-pub-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-ref-as-identifier.rs
keyword-ref-as-identifier.stderr
keyword-return-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-return-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-static-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-static-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-struct-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-struct-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-trait-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-trait-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-try-as-identifier-edition2018.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-try-as-identifier-edition2018.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-type-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-type-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-typeof.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-typeof.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-unsafe-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-unsafe-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-use-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-use-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-where-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-where-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword-while-as-identifier.rs recover on 'mut ' and improve recovery for keywords. 2019-08-27 13:04:48 +02:00
keyword-while-as-identifier.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keyword.rs
keyword.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
keywords-followed-by-double-colon.rs
keywords-followed-by-double-colon.stderr
lex-bad-binary-literal.rs
lex-bad-binary-literal.stderr
lex-bad-char-literals-1.rs
lex-bad-char-literals-1.stderr
lex-bad-char-literals-2.rs Provide a span if main function is not present in crate 2019-09-14 11:27:45 -04:00
lex-bad-char-literals-2.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
lex-bad-char-literals-3.rs
lex-bad-char-literals-3.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
lex-bad-char-literals-4.rs
lex-bad-char-literals-4.stderr
lex-bad-char-literals-5.rs
lex-bad-char-literals-5.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
lex-bad-char-literals-6.rs
lex-bad-char-literals-6.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
lex-bad-char-literals-7.rs
lex-bad-char-literals-7.stderr
lex-bad-numeric-literals.rs
lex-bad-numeric-literals.stderr
lex-bad-octal-literal.rs
lex-bad-octal-literal.stderr
lex-bad-token.rs remove special code path for unknown tokens 2019-08-05 13:15:11 +03:00
lex-bad-token.stderr
lex-bare-cr-string-literal-doc-comment.rs
lex-bare-cr-string-literal-doc-comment.stderr
lex-stray-backslash.rs remove special code path for unknown tokens 2019-08-05 13:15:11 +03:00
lex-stray-backslash.stderr
lifetime-in-pattern.rs
lifetime-in-pattern.stderr
lifetime-semicolon.rs
lifetime-semicolon.stderr
macro-bad-delimiter-ident.rs
macro-bad-delimiter-ident.stderr
macro-keyword.rs
macro-keyword.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
macro-mismatched-delim-brace-paren.rs
macro-mismatched-delim-brace-paren.stderr
macro-mismatched-delim-paren-brace.rs
macro-mismatched-delim-paren-brace.stderr
macros-no-semicolon-items.rs
macros-no-semicolon-items.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
macros-no-semicolon.rs
macros-no-semicolon.stderr
match-arrows-block-then-binop.rs
match-arrows-block-then-binop.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
match-refactor-to-expr.rs
match-refactor-to-expr.stderr
match-vec-invalid.rs
match-vec-invalid.stderr
mismatched-delim-brace-empty-block.rs Collect occurrences of for mismatched braces diagnostic 2019-10-15 23:59:22 +08:00
mismatched-delim-brace-empty-block.stderr Collect occurrences of for mismatched braces diagnostic 2019-10-15 23:59:22 +08:00
missing_right_paren.rs syntax: Avoid span arithmetics for delimiter tokens 2019-11-03 14:58:12 +03:00
missing_right_paren.stderr syntax: Avoid span arithmetics for delimiter tokens 2019-11-03 14:58:12 +03:00
mod_file_not_exist_windows.rs
mod_file_not_exist_windows.stderr
mod_file_not_exist.rs
mod_file_not_exist.stderr
mod_file_with_path_attr.rs
mod_file_with_path_attr.stderr
multiline-comment-line-tracking.rs
multiline-comment-line-tracking.stderr
multitrait.rs
multitrait.stderr
mut-patterns.rs Upgrade async/await to "used" keywords. 2019-09-28 09:15:06 -07:00
mut-patterns.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
new-unicode-escapes-1.rs
new-unicode-escapes-1.stderr
new-unicode-escapes-2.rs
new-unicode-escapes-2.stderr
new-unicode-escapes-3.rs
new-unicode-escapes-3.stderr
new-unicode-escapes-4.rs
new-unicode-escapes-4.stderr
no-binary-float-literal.rs
no-binary-float-literal.stderr
no-const-fn-in-extern-block.rs Add support for 'extern const fn' 2019-10-02 00:38:52 -04:00
no-const-fn-in-extern-block.stderr Add support for 'extern const fn' 2019-10-02 00:38:52 -04:00
no-hex-float-literal.rs
no-hex-float-literal.stderr
no-unsafe-self.rs
no-unsafe-self.stderr
not-a-pred.rs
not-a-pred.stderr
numeric-lifetime.rs
numeric-lifetime.stderr
omitted-arg-in-item-fn.rs parser: gracefully handle fn foo(A | B: type). 2019-08-25 05:45:19 +02:00
omitted-arg-in-item-fn.stderr parser: gracefully handle fn foo(A | B: type). 2019-08-25 05:45:19 +02:00
paamayim-nekudotayim.rs
paamayim-nekudotayim.stderr
paren-after-qualified-path-in-match.rs
paren-after-qualified-path-in-match.stderr
pat-lt-bracket-1.rs
pat-lt-bracket-1.stderr
pat-lt-bracket-2.rs parser: gracefully handle fn foo(A | B: type). 2019-08-25 05:45:19 +02:00
pat-lt-bracket-2.stderr syntax: improve parameter without type suggestions 2019-10-02 09:51:27 +01:00
pat-lt-bracket-3.rs
pat-lt-bracket-3.stderr
pat-lt-bracket-4.rs
pat-lt-bracket-4.stderr
pat-lt-bracket-5.rs parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
pat-lt-bracket-5.stderr parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
pat-lt-bracket-6.rs initial implementation of or-pattern parsing 2019-08-17 15:55:40 +00:00
pat-lt-bracket-6.stderr initial implementation of or-pattern parsing 2019-08-17 15:55:40 +00:00
pat-lt-bracket-7.rs initial implementation of or-pattern parsing 2019-08-17 15:55:40 +00:00
pat-lt-bracket-7.stderr initial implementation of or-pattern parsing 2019-08-17 15:55:40 +00:00
pat-ranges-1.rs parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
pat-ranges-1.stderr parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
pat-ranges-2.rs parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
pat-ranges-2.stderr parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
pat-ranges-3.rs parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
pat-ranges-3.stderr parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
pat-ranges-4.rs parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
pat-ranges-4.stderr parser: let stmts & for exprs: allow or-patterns. 2019-08-24 21:53:55 +02:00
pat-ref-enum.rs
pat-ref-enum.stderr
pat-tuple-1.rs
pat-tuple-1.stderr
pat-tuple-2.rs
pat-tuple-3.rs
pat-tuple-3.stderr
pat-tuple-4.rs Revert "pre-expansion gate exclusive_range_pattern" 2019-10-31 19:08:11 +02:00
pat-tuple-4.stderr Revert "pre-expansion gate exclusive_range_pattern" 2019-10-31 19:08:11 +02:00
pat-tuple-5.rs
pat-tuple-5.stderr Revert "pre-expansion gate exclusive_range_pattern" 2019-10-31 19:08:11 +02:00
pub-method-macro.rs
pub-method-macro.stderr
range_inclusive_dotdotdot.rs
range_inclusive_dotdotdot.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
range_inclusive.rs
range_inclusive.stderr
range-3.rs
range-3.stderr
range-4.rs
range-4.stderr
raw-byte-string-eof.rs
raw-byte-string-eof.stderr
raw-byte-string-literals.rs
raw-byte-string-literals.stderr
raw-str-delim.rs
raw-str-delim.stderr
raw-str-unbalanced.rs
raw-str-unbalanced.stderr
raw-str-unterminated.rs
raw-str-unterminated.stderr
recover-enum2.rs
recover-enum2.stderr
recover-enum.rs
recover-enum.stderr
recover-for-loop-parens-around-head.rs Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
recover-for-loop-parens-around-head.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
recover-from-bad-variant.rs Point at local similarly named element and tweak references to variants 2019-10-27 11:50:43 -07:00
recover-from-bad-variant.stderr Point at local similarly named element and tweak references to variants 2019-10-27 11:50:43 -07:00
recover-from-homoglyph.rs
recover-from-homoglyph.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
recover-missing-semi.rs Use heuristics to recover parsing of missing ; 2019-10-28 10:53:13 -07:00
recover-missing-semi.stderr Use heuristics to recover parsing of missing ; 2019-10-28 10:53:13 -07:00
recover-range-pats.rs Account for maybe_whole_expr in range patterns. 2019-07-30 04:22:09 +02:00
recover-range-pats.stderr Account for maybe_whole_expr in range patterns. 2019-07-30 04:22:09 +02:00
recover-struct.rs
recover-struct.stderr
recover-tuple-pat.rs
recover-tuple-pat.stderr
recover-tuple.rs
recover-tuple.stderr
recovered-struct-variant.rs
recovered-struct-variant.stderr
regions-out-of-scope-slice.rs
regions-out-of-scope-slice.stderr
removed-syntax-closure-lifetime.rs
removed-syntax-closure-lifetime.stderr
removed-syntax-enum-newtype.rs
removed-syntax-enum-newtype.stderr
removed-syntax-extern-const.rs
removed-syntax-extern-const.stderr
removed-syntax-field-let.rs
removed-syntax-field-let.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
removed-syntax-field-semicolon.rs
removed-syntax-field-semicolon.stderr
removed-syntax-fixed-vec.rs
removed-syntax-fixed-vec.stderr
removed-syntax-fn-sigil.rs
removed-syntax-fn-sigil.stderr
removed-syntax-mode.rs parser: gracefully handle fn foo(A | B: type). 2019-08-25 05:45:19 +02:00
removed-syntax-mode.stderr parser: gracefully handle fn foo(A | B: type). 2019-08-25 05:45:19 +02:00
removed-syntax-mut-vec-expr.rs
removed-syntax-mut-vec-expr.stderr
removed-syntax-mut-vec-ty.rs
removed-syntax-mut-vec-ty.stderr
removed-syntax-ptr-lifetime.rs
removed-syntax-ptr-lifetime.stderr
removed-syntax-record.rs
removed-syntax-record.stderr
removed-syntax-static-fn.rs Update syntax in existing tests 2019-08-02 02:44:35 +01:00
removed-syntax-static-fn.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
removed-syntax-uniq-mut-expr.rs
removed-syntax-uniq-mut-expr.stderr
removed-syntax-uniq-mut-ty.rs Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
removed-syntax-uniq-mut-ty.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
removed-syntax-with-1.rs
removed-syntax-with-1.stderr
removed-syntax-with-2.rs
removed-syntax-with-2.stderr
require-parens-for-chained-comparison.rs review comments 2019-10-03 13:22:18 -07:00
require-parens-for-chained-comparison.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
self-in-function-arg.rs
self-in-function-arg.stderr
several-carriage-returns-in-doc-comment.rs
several-carriage-returns-in-doc-comment.stderr
struct-field-numeric-shorthand.rs
struct-field-numeric-shorthand.stderr
struct-literal-in-for.rs
struct-literal-in-for.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
struct-literal-in-if.rs
struct-literal-in-if.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
struct-literal-in-match-discriminant.rs
struct-literal-in-match-discriminant.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
struct-literal-in-while.rs
struct-literal-in-while.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
struct-literal-restrictions-in-lamda.rs
struct-literal-restrictions-in-lamda.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
tag-variant-disr-non-nullary.rs
tag-variant-disr-non-nullary.stderr
trailing-carriage-return-in-string.rs
trailing-carriage-return-in-string.stderr
trailing-plus-in-bounds.rs
trait-bounds-not-on-impl.rs
trait-bounds-not-on-impl.stderr
trait-object-bad-parens.rs
trait-object-bad-parens.stderr
trait-object-lifetime-parens.rs Bail out when encountering likely missing turbofish in parser 2019-09-05 13:18:05 -07:00
trait-object-lifetime-parens.stderr Bail out when encountering likely missing turbofish in parser 2019-09-05 13:18:05 -07:00
trait-object-polytrait-priority.rs
trait-object-polytrait-priority.stderr
trait-object-trait-parens.rs
trait-object-trait-parens.stderr
trait-plusequal-splitting.rs
trait-pub-assoc-const.rs
trait-pub-assoc-const.stderr
trait-pub-assoc-ty.rs
trait-pub-assoc-ty.stderr
trait-pub-method.rs
trait-pub-method.stderr
type-parameters-in-field-exprs.rs
type-parameters-in-field-exprs.stderr review comments 2019-09-22 11:33:12 -07:00
unbalanced-doublequote.rs
unbalanced-doublequote.stderr
unclosed_delim_mod.rs Provide a span if main function is not present in crate 2019-09-14 11:27:45 -04:00
unclosed_delim_mod.stderr Provide a span if main function is not present in crate 2019-09-14 11:27:45 -04:00
unclosed-braces.rs
unclosed-braces.stderr
unclosed-delimiter-in-dep.rs
unclosed-delimiter-in-dep.stderr Provide a span if main function is not present in crate 2019-09-14 11:27:45 -04:00
underscore_item_not_const.rs Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
underscore_item_not_const.stderr Tweak unexpected token wording 2019-10-28 10:53:13 -07:00
underscore-suffix-for-float.rs
underscore-suffix-for-float.stderr
underscore-suffix-for-string.rs
underscore-suffix-for-string.stderr
unicode-chars.rs
unicode-chars.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
unicode-quote-chars.rs remove special code path for unknown tokens 2019-08-05 13:15:11 +03:00
unicode-quote-chars.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
unmatched-delimiter-at-end-of-file.rs
unmatched-delimiter-at-end-of-file.stderr
unsized2.rs
unsized2.stderr
unsized.rs
unsized.stderr
use-as-where-use-ends-with-mod-sep.rs
use-as-where-use-ends-with-mod-sep.stderr Increase spacing for suggestions in diagnostics 2019-10-24 12:26:01 -07:00
use-ends-with-mod-sep.rs
use-ends-with-mod-sep.stderr
variadic-ffi-3.rs
variadic-ffi-3.stderr Update ui tests 2019-10-31 10:39:46 +01:00
variadic-ffi-4.rs
variadic-ffi-4.stderr Update ui tests 2019-10-31 10:39:46 +01:00
virtual-structs.rs
virtual-structs.stderr
where_with_bound.rs
where_with_bound.stderr
where-clauses-no-bounds-or-predicates.rs
where-clauses-no-bounds-or-predicates.stderr
wrong-escape-of-curly-braces.rs
wrong-escape-of-curly-braces.stderr