rust/tests/ui/parser
bors 42b2496320 Auto merge of #126597 - estebank:unicode-output, r=fmease
Add Unicode block-drawing compiler output support

Add nightly-only theming support to rustc output using Unicode box
drawing characters instead of ASCII-art to draw the terminal UI.

In order to enable, the flags `-Zunstable-options=yes --error-format=human-unicode` must be passed in.

After:

```
error: foo
  ╭▸ test.rs:3:3
  │
3 │       X0 Y0 Z0
  │   ┌───╿──│──┘
  │  ┌│───│──┘
  │ ┏││━━━┙
  │ ┃││
4 │ ┃││   X1 Y1 Z1
5 │ ┃││   X2 Y2 Z2
  │ ┃│└────╿──│──┘ `Z` label
  │ ┃└─────│──┤
  │ ┗━━━━━━┥  `Y` is a good letter too
  │        `X` is a good letter
  ╰╴
note: bar
  ╭▸ test.rs:4:3
  │
4 │ ┏   X1 Y1 Z1
5 │ ┃   X2 Y2 Z2
6 │ ┃   X3 Y3 Z3
  │ ┗━━━━━━━━━━┛
  ├ note: bar
  ╰ note: baz
note: qux
  ╭▸ test.rs:4:3
  │
4 │   X1 Y1 Z1
  ╰╴  ━━━━━━━━
```

Before:

```
error: foo
 --> test.rs:3:3
  |
3 |       X0 Y0 Z0
  |    ___^__-__-
  |   |___|__|
  |  ||___|
  | |||
4 | |||   X1 Y1 Z1
5 | |||   X2 Y2 Z2
  | |||____^__-__- `Z` label
  | ||_____|__|
  | |______|  `Y` is a good letter too
  |        `X` is a good letter
  |
note: bar
 --> test.rs:4:3
  |
4 | /   X1 Y1 Z1
5 | |   X2 Y2 Z2
6 | |   X3 Y3 Z3
  | |__________^
  = note: bar
  = note: baz
note: qux
 --> test.rs:4:3
  |
4 |   X1 Y1 Z1
  |   ^^^^^^^^
```

After:

![rustc output with unicode box drawing characters](https://github.com/rust-lang/rust/assets/1606434/d210b79a-6579-4407-9706-ba8edc6e9f25)

Before:
![current rustc output with ASCII art](https://github.com/rust-lang/rust/assets/1606434/5aecccf8-a6ee-4469-8b39-72fb0d979a9f)
2024-11-11 00:00:58 +00:00
..
assoc
attribute don't suggest turning crate-level attributes into outer style 2024-08-04 00:11:16 +08:00
char Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
diff-markers
issues Deny calls to non-#[const_trait] methods in MIR constck 2024-10-26 11:35:56 +08:00
macro Tweak more warnings. 2024-10-28 14:20:28 +11:00
mismatched-braces Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
misspelled-keywords Implement a Method to Seal DiagInner's Suggestions 2024-09-12 21:27:44 -04:00
raw Replace ASCII control chars with Unicode Control Pictures 2024-07-18 19:23:42 +00:00
recover On function and method calls in patterns, link to the book 2024-10-06 01:44:59 +00:00
removed-syntax Fix removed box_syntax diagnostic if source isn't available 2024-08-01 13:11:24 +00:00
shebang Annotate input reference tests 2024-10-30 16:47:47 -07:00
suggest_misplaced_generics
anon-enums-are-ambiguous.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
ascii-only-character-escape.rs
ascii-only-character-escape.stderr
async-with-nonterminal-block.rs
bad-char-literals.rs Replace ASCII control chars with Unicode Control Pictures 2024-07-18 19:23:42 +00:00
bad-char-literals.stderr Add Unicode block-drawing compiler output support 2024-11-10 23:57:18 +01:00
bad-crate-name.rs
bad-crate-name.stderr
bad-escape-suggest-raw-string.rs Use a better link 2023-06-10 14:46:11 -04:00
bad-escape-suggest-raw-string.stderr
bad-fn-ptr-qualifier.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bad-fn-ptr-qualifier.rs
bad-fn-ptr-qualifier.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
bad-if-statements.rs
bad-if-statements.stderr
bad-interpolated-block.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-interpolated-block.stderr Add suggestion for bad block fragment error 2023-06-23 19:18:20 +00:00
bad-let-as-field.rs
bad-let-as-field.stderr
bad-let-else-statement.rs Support tail calls in mir via TerminatorKind::TailCall 2024-07-07 17:11:04 +02:00
bad-let-else-statement.stderr Support tail calls in mir via TerminatorKind::TailCall 2024-07-07 17:11:04 +02:00
bad-lit-suffixes.rs
bad-lit-suffixes.stderr
bad-match.rs
bad-match.stderr
bad-name.rs Recover more expressions in patterns 2024-09-18 20:37:56 +02:00
bad-name.stderr On function and method calls in patterns, link to the book 2024-10-06 01:44:59 +00:00
bad-pointer-type.rs
bad-pointer-type.stderr
bad-recover-kw-after-impl.rs
bad-recover-kw-after-impl.stderr
bad-recover-ty-after-impl.rs
bad-struct-following-where.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-struct-following-where.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bad-value-ident-false.rs
bad-value-ident-false.stderr
bad-value-ident-true.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-value-ident-true.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bare-struct-body.rs
bare-struct-body.stderr
bastion-of-the-turbofish.rs
better-expected.rs
better-expected.stderr
bind-struct-early-modifiers.rs
bind-struct-early-modifiers.stderr
block-no-opening-brace.rs Add more test cases for block-no-opening-brace 2024-09-22 23:29:25 +03:00
block-no-opening-brace.stderr Add more test cases for block-no-opening-brace 2024-09-22 23:29:25 +03:00
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 And additionally enforce ? and async/const aren't mixed 2024-07-11 00:00:03 -04:00
bounds-type.stderr And additionally enforce ? and async/const aren't mixed 2024-07-11 00:00:03 -04:00
brace-in-let-chain.rs
brace-in-let-chain.stderr add limit for unclosed delimiters in lexer diagnostic 2024-07-25 17:01:32 +08:00
break-in-unlabeled-block-in-macro.rs Account for macros 2023-10-09 22:48:10 +00:00
break-in-unlabeled-block-in-macro.stderr For OutsideLoop we should not suggest add 'block label in if block, or we wiil get another err: block label not supported here. 2024-05-22 19:47:32 +08:00
break-in-unlabeled-block.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
break-in-unlabeled-block.rs
break-in-unlabeled-block.stderr
builtin-syntax.rs
builtin-syntax.stderr
byte-literals.rs
byte-literals.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
byte-string-literals.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
byte-string-literals.stderr Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
can-begin-expr-check.rs
can-begin-expr-check.stderr
cfg-keyword-lifetime.rs Deny keyword lifetimes pre-expansion 2024-07-16 12:06:25 -04:00
cfg-keyword-lifetime.stderr Deny keyword lifetimes pre-expansion 2024-07-16 12:06:25 -04:00
chained-comparison-suggestion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
chained-comparison-suggestion.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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
column-offset-1-based.stderr
const-param-decl-on-type-instead-of-impl.rs
const-param-decl-on-type-instead-of-impl.stderr
constraints-before-generic-args-syntactic-pass.rs Stabilize associated type bounds 2024-03-08 20:56:25 +00:00
deep-unmatched-angle-brackets.rs Avoid unbounded O(n^2) when parsing nested type args 2023-10-25 19:07:34 +00:00
deep-unmatched-angle-brackets.stderr
default-on-wrong-item-kind.rs
default-on-wrong-item-kind.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
default-unmatched-assoc.rs
default-unmatched-assoc.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
default-unmatched-extern.rs
default-unmatched-extern.stderr
default-unmatched.rs
default-unmatched.stderr
default.rs
default.stderr
defaultness-invalid-places-fail-semantic.rs
defaultness-invalid-places-fail-semantic.stderr
deli-ident-issue-1.rs
deli-ident-issue-1.stderr Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
deli-ident-issue-2.rs
deli-ident-issue-2.stderr
diagnostics-parenthesized-type-arguments-ice-issue-122345.rs
diagnostics-parenthesized-type-arguments-ice-issue-122345.stderr
do-catch-suggests-try.rs
do-catch-suggests-try.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
do-not-suggest-semicolon-before-array.rs
do-not-suggest-semicolon-before-array.stderr
do-not-suggest-semicolon-between-macro-without-exclamation-mark-and-array.rs
do-not-suggest-semicolon-between-macro-without-exclamation-mark-and-array.stderr
doc-after-struct-field.rs
doc-after-struct-field.stderr
doc-before-attr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
doc-before-mod-rbrace.rs
doc-before-mod-rbrace.stderr
doc-before-rbrace.rs
doc-before-rbrace.stderr
doc-before-semi.rs
doc-before-semi.stderr
doc-before-struct-rbrace-1.rs
doc-before-struct-rbrace-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
doc-before-struct-rbrace-2.rs
doc-before-struct-rbrace-2.stderr
doc-comment-in-if-statement.rs
doc-comment-in-if-statement.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
doc-comment-in-stmt.fixed
doc-comment-in-stmt.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
doc-comment-in-stmt.stderr
doc-inside-trait-item.rs
doc-inside-trait-item.stderr
dotdotdot-expr.rs
dotdotdot-expr.stderr
double-pointer.rs
double-pointer.stderr
duplicate-visibility.rs
duplicate-visibility.stderr
duplicate-where-clauses.rs
duplicate-where-clauses.stderr
dyn-trait-compatibility.rs
dyn-trait-compatibility.stderr
else-no-if.rs
else-no-if.stderr
emoji-identifiers.rs
emoji-identifiers.stderr
empty-impl-semicolon.rs
empty-impl-semicolon.stderr
eq-gt-to-gt-eq.fixed
eq-gt-to-gt-eq.rs
eq-gt-to-gt-eq.stderr
eq-less-to-less-eq.rs
eq-less-to-less-eq.stderr
expr-as-stmt-2.rs
expr-as-stmt-2.stderr
expr-as-stmt.fixed
expr-as-stmt.rs
expr-as-stmt.stderr adjust how closure/generator types and rvalues are printed 2023-09-21 22:20:58 +02:00
expr-rarrow-call.fixed
expr-rarrow-call.rs
expr-rarrow-call.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
extern-abi-from-mac-literal-frag.rs
extern-abi-raw-strings.rs
extern-abi-string-escaping.rs
extern-abi-syntactic.rs
extern-crate-async.rs
extern-crate-unexpected-token.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
extern-crate-unexpected-token.stderr Add Suggestions for Misspelled Keywords 2024-09-06 23:07:45 -04:00
extern-expected-fn-or-brace.rs
extern-expected-fn-or-brace.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
extern-foreign-crate.rs
extern-foreign-crate.stderr
extern-no-fn.rs Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
extern-no-fn.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
float-field-interpolated.rs
float-field-interpolated.stderr
float-field.rs
float-field.stderr
float-literals.rs
fn-arg-doc-comment.rs
fn-arg-doc-comment.stderr
fn-body-eq-expr-semi.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-body-eq-expr-semi.stderr
fn-body-optional-semantic-fail.rs
fn-body-optional-semantic-fail.stderr
fn-body-optional-syntactic-pass.rs
fn-colon-return-type.rs
fn-colon-return-type.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
fn-defined-using-def.rs
fn-defined-using-def.stderr
fn-defined-using-fun.rs
fn-defined-using-fun.stderr
fn-defined-using-func.rs
fn-defined-using-func.stderr
fn-defined-using-function.rs
fn-defined-using-function.stderr
fn-field-parse-error-ice.rs
fn-field-parse-error-ice.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-header-semantic-fail.rs Note what qualifier 2024-10-11 11:30:08 -04:00
fn-header-semantic-fail.stderr Note what qualifier 2024-10-11 11:30:08 -04:00
fn-header-syntactic-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
fn-returns-fn-pointer.rs
foreign-const-semantic-fail.rs
foreign-const-semantic-fail.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
foreign-const-syntactic-fail.rs
foreign-const-syntactic-fail.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
foreign-static-semantic-fail.rs
foreign-static-semantic-fail.stderr
foreign-static-syntactic-pass.rs
foreign-ty-semantic-fail.rs
foreign-ty-semantic-fail.stderr
foreign-ty-syntactic-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
generic-param-default-in-binder.rs
generic-statics.rs
generic-statics.stderr
help-set-edition-ice-122130.rs
help-set-edition-ice-122130.stderr
ice-issue-127600.rs check is_ident before parse_ident 2024-07-11 12:12:00 +04:00
ice-issue-127600.stderr check is_ident before parse_ident 2024-07-11 12:12:00 +04:00
ident-recovery.rs
ident-recovery.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
if-block-unreachable-expr.rs
if-in-in.fixed
if-in-in.rs
if-in-in.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
impl-item-const-pass.rs
impl-item-const-semantic-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
impl-item-const-semantic-fail.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
impl-item-fn-no-body-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-item-fn-no-body-semantic-fail.rs
impl-item-fn-no-body-semantic-fail.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
impl-item-type-no-body-pass.rs
impl-item-type-no-body-semantic-fail.rs
impl-item-type-no-body-semantic-fail.stderr
impl-on-unsized-typo.rs
impl-on-unsized-typo.stderr
impl-parsing.rs
impl-parsing.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
impl-qpath.rs
impls-nested-within-anon-consts-semantic.rs
impls-nested-within-fns-semantic-0.rs
impls-nested-within-fns-semantic-1.rs Yeet effects feature 2024-11-03 18:59:31 +00:00
import-from-path.rs
import-from-path.stderr
import-from-rename.rs
import-from-rename.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
import-glob-path.rs
import-glob-path.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
import-glob-rename.rs
import-glob-rename.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
increment-autofix-2.fixed
increment-autofix-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
increment-autofix-2.stderr
increment-autofix.fixed
increment-autofix.rs
increment-autofix.stderr
inner-attr-after-doc-comment.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inner-attr-after-doc-comment.stderr don't suggest turning crate-level attributes into outer style 2024-08-04 00:11:16 +08:00
inner-attr-in-trait-def.rs
inner-attr.rs
inner-attr.stderr don't suggest turning crate-level attributes into outer style 2024-08-04 00:11:16 +08:00
int-literal-too-large-span.rs
int-literal-too-large-span.stderr
integer-literal-start-ident.rs
integer-literal-start-ident.stderr
intersection-patterns-1.fixed
intersection-patterns-1.rs
intersection-patterns-1.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
intersection-patterns-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
intersection-patterns-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
inverted-parameters.rs
inverted-parameters.stderr
issue-12187-1.rs
issue-12187-1.stderr
issue-12187-2.rs
issue-12187-2.stderr
issue-116781.rs
issue-116781.stderr
item-free-const-no-body-semantic-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
item-free-const-no-body-semantic-fail.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
item-free-const-no-body-syntactic-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
item-free-static-no-body-semantic-fail.rs
item-free-static-no-body-semantic-fail.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
item-free-static-no-body-syntactic-pass.rs
item-free-type-bounds-semantic-fail.rs
item-free-type-bounds-semantic-fail.stderr
item-free-type-bounds-syntactic-pass.rs
item-kw-case-mismatch.fixed
item-kw-case-mismatch.rs
item-kw-case-mismatch.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
item-needs-block.rs
item-needs-block.stderr
keyword-abstract.rs
keyword-abstract.stderr
keyword-as-as-identifier.rs
keyword-as-as-identifier.stderr
keyword-box-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-box-as-identifier.stderr
keyword-break-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-break-as-identifier.stderr
keyword-const-as-identifier.rs
keyword-const-as-identifier.stderr
keyword-continue-as-identifier.rs
keyword-continue-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-else-as-identifier.rs
keyword-else-as-identifier.stderr
keyword-enum-as-identifier.rs
keyword-enum-as-identifier.stderr
keyword-final.rs
keyword-final.stderr
keyword-fn-as-identifier.rs
keyword-fn-as-identifier.stderr
keyword-for-as-identifier.rs
keyword-for-as-identifier.stderr
keyword-if-as-identifier.rs
keyword-if-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-impl-as-identifier.rs
keyword-impl-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-in-as-identifier.rs
keyword-in-as-identifier.stderr
keyword-let-as-identifier.rs
keyword-let-as-identifier.stderr
keyword-loop-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-loop-as-identifier.stderr
keyword-match-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-match-as-identifier.stderr
keyword-mod-as-identifier.rs
keyword-mod-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-move-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-move-as-identifier.stderr
keyword-mut-as-identifier.rs
keyword-mut-as-identifier.stderr
keyword-override.rs
keyword-override.stderr
keyword-pub-as-identifier.rs
keyword-pub-as-identifier.stderr
keyword-ref-as-identifier.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
keyword-ref-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-return-as-identifier.rs
keyword-return-as-identifier.stderr
keyword-static-as-identifier.rs
keyword-static-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword-struct-as-identifier.rs
keyword-struct-as-identifier.stderr
keyword-trait-as-identifier.rs
keyword-trait-as-identifier.stderr
keyword-try-as-identifier-edition2018.rs
keyword-try-as-identifier-edition2018.stderr
keyword-type-as-identifier.rs
keyword-type-as-identifier.stderr
keyword-typeof.rs
keyword-typeof.stderr
keyword-union-as-identifier.rs
keyword-unsafe-as-identifier.rs
keyword-unsafe-as-identifier.stderr
keyword-use-as-identifier.rs
keyword-use-as-identifier.stderr
keyword-where-as-identifier.rs
keyword-where-as-identifier.stderr
keyword-while-as-identifier.rs
keyword-while-as-identifier.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
keyword.rs
keyword.stderr
keywords-followed-by-double-colon.rs
keywords-followed-by-double-colon.stderr
kw-in-trait-bounds.rs
kw-in-trait-bounds.stderr
label-after-block-like.rs
label-after-block-like.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
label-is-actually-char.rs
label-is-actually-char.stderr
labeled-no-colon-expr.rs
labeled-no-colon-expr.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
let-binop.fixed
let-binop.rs
let-binop.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
lifetime_starts_expressions.rs
lifetime_starts_expressions.stderr
lifetime-in-pattern-recover.rs
lifetime-in-pattern-recover.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
lifetime-in-pattern.rs
lifetime-in-pattern.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
lifetime-semicolon.fixed
lifetime-semicolon.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lifetime-semicolon.stderr
lit-err-in-macro.rs Handle interpolated literal errors 2023-06-15 01:55:37 +00:00
lit-err-in-macro.stderr
macro-bad-delimiter-ident.rs
macro-bad-delimiter-ident.stderr
macro-braces-dot-question.rs
macro-keyword.rs
macro-keyword.stderr
macro-mismatched-delim-brace-paren.rs
macro-mismatched-delim-brace-paren.stderr
macro-mismatched-delim-paren-brace.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macro-mismatched-delim-paren-brace.stderr Exit when there are unmatched delims to avoid noisy diagnostics 2023-02-28 07:55:19 +00:00
macros-no-semicolon-items.rs
macros-no-semicolon-items.stderr
macros-no-semicolon.rs
macros-no-semicolon.stderr Make ; suggestions inline 2024-07-12 03:22:32 +00:00
match-arm-without-body.rs
match-arm-without-body.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
match-arm-without-braces.rs
match-arm-without-braces.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
match-arrows-block-then-binop.rs
match-arrows-block-then-binop.stderr
match-refactor-to-expr.fixed
match-refactor-to-expr.rs
match-refactor-to-expr.stderr
mbe_missing_right_paren.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
mbe_missing_right_paren.stderr
method-call-on-struct-literal-in-if-condition.rs Detect struct literal needing parentheses 2023-01-11 16:53:21 +00:00
method-call-on-struct-literal-in-if-condition.stderr
mismatched-delim-brace-empty-block.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mismatched-delim-brace-empty-block.stderr
mismatched-delimiter-corner-case-issue-127868.rs add limit for unclosed delimiters in lexer diagnostic 2024-07-25 17:01:32 +08:00
mismatched-delimiter-corner-case-issue-127868.stderr add limit for unclosed delimiters in lexer diagnostic 2024-07-25 17:01:32 +08:00
missing_right_paren.rs
missing_right_paren.stderr
missing-closing-angle-bracket-eq-constraint.rs Don't expose type parameters and implementation details from macro expansion 2023-02-09 15:15:15 +08:00
missing-closing-angle-bracket-eq-constraint.stderr
missing-closing-angle-bracket-struct-field-ty.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
missing-closing-angle-bracket-struct-field-ty.stderr
missing-enum-issue-125446.rs Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
missing-enum-issue-125446.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
missing-enum-or-struct-issue-125446.rs Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
missing-enum-or-struct-issue-125446.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
missing-expression-in-for-loop.rs Add ui test for missing expression in for loop 2023-02-05 17:33:17 +03:00
missing-expression-in-for-loop.stderr
missing-fat-arrow.rs
missing-fat-arrow.stderr review comments 2023-10-04 01:35:07 +00:00
missing-fn-issue-65381-1.rs Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
missing-fn-issue-65381-1.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
missing-fn-issue-65381-2.rs Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
missing-fn-issue-65381-2.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
missing-fn-issue-65381-3.rs Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
missing-fn-issue-65381-3.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
missing-fn-issue-125446.rs Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
missing-fn-issue-125446.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
missing-semicolon.rs
missing-semicolon.stderr
missing-struct-issue-125446.rs Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
missing-struct-issue-125446.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
misspelled-macro-rules.fixed
misspelled-macro-rules.rs
misspelled-macro-rules.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
mod_file_not_exist_windows.rs
mod_file_not_exist_windows.stderr Mention the syntax for use on mod foo; if foo doesn't exist 2023-10-21 15:56:01 +00:00
mod_file_not_exist.rs
mod_file_not_exist.stderr
mod_file_with_path_attr.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
mod_file_with_path_attr.stderr
multibyte-char-use-seperator-issue-80134.rs
multibyte-char-use-seperator-issue-80134.stderr
multiline-comment-line-tracking.rs
multiline-comment-line-tracking.stderr
multitrait.rs
multitrait.stderr
mut-patterns.rs
mut-patterns.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
nested-bad-turbofish.rs
nested-bad-turbofish.stderr
nested-missing-closing-angle-bracket.rs
nested-missing-closing-angle-bracket.stderr
new-unicode-escapes-1.rs
new-unicode-escapes-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
new-unicode-escapes-4.stderr
no-binary-float-literal.rs
no-binary-float-literal.stderr
no-const-fn-in-extern-block.rs Note what qualifier 2024-10-11 11:30:08 -04:00
no-const-fn-in-extern-block.stderr Note what qualifier 2024-10-11 11:30:08 -04:00
no-hex-float-literal.rs
no-hex-float-literal.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-unsafe-self.rs
no-unsafe-self.stderr
not-a-pred.rs
not-a-pred.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
nt-parsing-has-recovery.rs
nt-parsing-has-recovery.stderr
numeric-lifetime.rs
numeric-lifetime.stderr
obsolete-syntax-impl-for-dotdot.rs
obsolete-syntax-impl-for-dotdot.stderr
old-suffixes-are-really-forbidden.rs
old-suffixes-are-really-forbidden.stderr
omitted-arg-in-item-fn.rs
omitted-arg-in-item-fn.stderr
operator-associativity.rs
paamayim-nekudotayim.rs
paamayim-nekudotayim.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
parse-assoc-type-lt.rs
parse-error-correct.rs
parse-error-correct.stderr
parse-panic.rs
parser-ice-ed2021-await-105210.rs
parser-ice-ed2021-await-105210.stderr Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
parser-recovery-1.rs
parser-recovery-1.stderr Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
parser-recovery-2.rs
parser-recovery-2.stderr
parser-unicode-whitespace.rs
pat-lt-bracket-1.rs
pat-lt-bracket-1.stderr
pat-lt-bracket-2.rs
pat-lt-bracket-2.stderr
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
pat-lt-bracket-5.stderr On function and method calls in patterns, link to the book 2024-10-06 01:44:59 +00:00
pat-lt-bracket-6.rs
pat-lt-bracket-6.stderr On function and method calls in patterns, link to the book 2024-10-06 01:44:59 +00:00
pat-lt-bracket-7.rs
pat-lt-bracket-7.stderr
pat-ranges-1.rs
pat-ranges-1.stderr
pat-ranges-2.rs
pat-ranges-2.stderr
pat-ranges-3.rs
pat-ranges-3.stderr On function and method calls in patterns, link to the book 2024-10-06 01:44:59 +00: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 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
pub-method-macro.rs
pub-method-macro.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
public-instead-of-pub-1.fixed
public-instead-of-pub-1.rs
public-instead-of-pub-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
public-instead-of-pub-2.rs
public-instead-of-pub-2.stderr
public-instead-of-pub-3.fixed
public-instead-of-pub-3.rs
public-instead-of-pub-3.stderr
public-instead-of-pub.fixed
public-instead-of-pub.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
public-instead-of-pub.stderr
qualified-path-in-turbofish.fixed
qualified-path-in-turbofish.rs
qualified-path-in-turbofish.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
range_inclusive_dotdotdot.rs
range_inclusive_dotdotdot.stderr
range_inclusive.fixed
range_inclusive.rs
range_inclusive.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
range-3.rs
range-3.stderr
range-4.rs
range-4.stderr
range-exclusive-dotdotlt.rs
range-exclusive-dotdotlt.stderr
range-inclusive-extra-equals.rs
range-inclusive-extra-equals.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
ranges-precedence.rs
recover-hrtb-before-dyn-impl-kw.rs
recover-hrtb-before-dyn-impl-kw.stderr
recovered-struct-variant.rs
recovered-struct-variant.stderr
regions-out-of-scope-slice.rs
regions-out-of-scope-slice.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
require-parens-for-chained-comparison.rs Deny keyword lifetimes pre-expansion 2024-07-16 12:06:25 -04:00
require-parens-for-chained-comparison.stderr Deny keyword lifetimes pre-expansion 2024-07-16 12:06:25 -04:00
self-in-function-arg.rs
self-in-function-arg.stderr
self-param-semantic-fail.rs
self-param-semantic-fail.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
self-param-syntactic-pass.rs
semi-after-closure-in-macro.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
semi-in-let-chain.rs
semi-in-let-chain.stderr
several-carriage-returns-in-doc-comment.rs
several-carriage-returns-in-doc-comment.stderr Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
similar-tokens.rs
similar-tokens.stderr
slowparse-bstring.rs
slowparse-string.rs
stmt_expr_attrs_placement.rs
stmt_expr_attrs_placement.stderr
stripped-nested-outline-mod-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
struct-default-values-and-missing-field-separator.fixed
struct-default-values-and-missing-field-separator.rs
struct-default-values-and-missing-field-separator.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
struct-field-numeric-shorthand.rs
struct-field-numeric-shorthand.stderr
struct-filed-with-attr.fixed
struct-filed-with-attr.rs
struct-filed-with-attr.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
struct-literal-in-for.rs
struct-literal-in-for.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
struct-literal-in-if.rs
struct-literal-in-if.stderr
struct-literal-in-match-discriminant.rs
struct-literal-in-match-discriminant.stderr
struct-literal-in-match-guard.rs
struct-literal-in-while.rs
struct-literal-in-while.stderr
struct-literal-restrictions-in-lamda.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
struct-literal-restrictions-in-lamda.stderr
struct-literal-variant-in-if.rs
struct-literal-variant-in-if.stderr More accurate suggestions when writing wrong style of enum variant literal 2024-07-18 18:20:35 +00:00
suggest-assoc-const.fixed
suggest-assoc-const.rs
suggest-assoc-const.stderr Use verbose style when suggesting changing const with let 2024-07-11 20:39:24 +00:00
suggest-const-for-global-var.rs
suggest-const-for-global-var.stderr
suggest-remove-compount-assign-let-ice.rs tests: add regression test for #128845 2024-08-09 05:52:53 +00:00
suggest-remove-compount-assign-let-ice.stderr tests: add regression test for #128845 2024-08-09 05:52:53 +00:00
suggest-removing-semicolon-after-impl-trait-items.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
suggest-removing-semicolon-after-impl-trait-items.rs
suggest-removing-semicolon-after-impl-trait-items.stderr
suggest-semi-in-array.rs
suggest-semi-in-array.stderr
suggest-semicolon-before-array.fixed
suggest-semicolon-before-array.rs
suggest-semicolon-before-array.stderr
super-fast-paren-parsing.rs
survive-peano-lesson-queue.rs
ternary_operator.rs
ternary_operator.stderr
trailing-carriage-return-in-string.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trailing-carriage-return-in-string.stderr Replace ASCII control chars with Unicode Control Pictures 2024-07-18 19:23:42 +00:00
trailing-plus-in-bounds.rs
trailing-question-in-macro-type.rs
trailing-question-in-macro-type.stderr
trailing-question-in-type.fixed
trailing-question-in-type.rs
trailing-question-in-type.stderr
trait-bounds-not-on-impl.rs
trait-bounds-not-on-impl.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
trait-item-with-defaultness-pass.rs
trait-object-bad-parens.rs
trait-object-bad-parens.stderr
trait-object-delimiters.rs
trait-object-delimiters.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
trait-object-lifetime-parens.rs
trait-object-lifetime-parens.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
trait-object-polytrait-priority.rs Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
trait-object-polytrait-priority.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
trait-object-trait-parens.rs
trait-object-trait-parens.stderr Compiler: Rename "object safe" to "dyn compatible" 2024-09-25 13:26:48 +02:00
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 Improve diagnostic by suggesting to remove visibility qualifier 2024-04-12 12:59:40 +09:00
triple-colon-delegation.fixed Parser: recover from ::: to :: in delegations 2024-09-21 20:29:22 +03:00
triple-colon-delegation.rs Parser: recover from ::: to :: in delegations 2024-09-21 20:29:22 +03:00
triple-colon-delegation.stderr Parser: recover from ::: to :: in delegations 2024-09-21 20:29:22 +03:00
triple-colon.fixed Parser: recover from ::: to :: 2024-09-21 20:07:52 +03:00
triple-colon.rs Parser: recover from ::: to :: 2024-09-21 20:07:52 +03:00
triple-colon.stderr Parser: recover from ::: to :: 2024-09-21 20:07:52 +03:00
try-with-nonterminal-block.rs
type-ascription-in-pattern.rs
type-ascription-in-pattern.stderr
type-parameters-in-field-exprs.rs
type-parameters-in-field-exprs.stderr
typod-const-in-const-param-def.rs
typod-const-in-const-param-def.stderr
unbalanced-doublequote.rs
unbalanced-doublequote.stderr Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
unclosed_delim_mod.rs
unclosed_delim_mod.stderr
unclosed-braces.rs
unclosed-braces.stderr Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
unclosed-delimiter-in-dep.rs
unclosed-delimiter-in-dep.stderr
underscore_item_not_const.rs
underscore_item_not_const.stderr
underscore-suffix-for-float.rs
underscore-suffix-for-float.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
underscore-suffix-for-string.rs
underscore-suffix-for-string.stderr
unicode-character-literal.fixed
unicode-character-literal.rs
unicode-character-literal.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
unicode-chars.rs
unicode-chars.stderr
unicode-control-codepoints.rs
unicode-control-codepoints.stderr Make unicode text flow control chars visible as � 2024-07-18 20:08:43 +00:00
unicode-quote-chars.rs
unicode-quote-chars.stderr
unmatched-delimiter-at-end-of-file.rs
unmatched-delimiter-at-end-of-file.stderr Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
unmatched-langle-1.rs
unmatched-langle-1.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
unmatched-langle-2.rs
unmatched-langle-2.stderr
unnecessary-let.rs
unnecessary-let.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
unsafe-foreign-mod-2.rs Stabilize unsafe extern blocks (RFC 3484) 2024-07-23 00:29:39 -03:00
unsafe-foreign-mod-2.stderr Stabilize unsafe extern blocks (RFC 3484) 2024-07-23 00:29:39 -03:00
unsafe-foreign-mod.rs Stabilize unsafe extern blocks (RFC 3484) 2024-07-23 00:29:39 -03:00
unsafe-mod.rs
unsafe-mod.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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
use-colon-as-mod-sep.rs
use-colon-as-mod-sep.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
use-ends-with-mod-sep.rs
use-ends-with-mod-sep.stderr
use-unclosed-brace.rs
use-unclosed-brace.stderr Be more accurate about calculating display_col from a BytePos 2024-07-18 20:08:38 +00:00
utf8_idents-rpass.rs
utf16-be-without-bom.rs Annotate input reference tests 2024-10-30 16:47:47 -07:00
utf16-be-without-bom.stderr Annotate input reference tests 2024-10-30 16:47:47 -07:00
utf16-le-without-bom.rs Annotate input reference tests 2024-10-30 16:47:47 -07:00
utf16-le-without-bom.stderr Annotate input reference tests 2024-10-30 16:47:47 -07:00
variadic-ffi-nested-syntactic-fail.rs Reject CVarArgs in parse_ty_for_where_clause 2024-06-01 20:57:15 +02:00
variadic-ffi-nested-syntactic-fail.stderr
variadic-ffi-semantic-restrictions.rs compiler: Mention C-unwind in C-variadic error 2024-06-22 23:30:31 -07:00
variadic-ffi-semantic-restrictions.stderr compiler: Mention C-unwind in C-variadic error 2024-06-22 23:30:31 -07:00
variadic-ffi-syntactic-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00: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
while-if-let-without-body.rs
while-if-let-without-body.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
wrong-escape-of-curly-braces.rs
wrong-escape-of-curly-braces.stderr