Skip to content
Myr

Use ui test syntax that does not interfere with rustfmt

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent 1a3cf4b · Browse files · 4 files+8 added−8 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

4 files+8 added−8 removed

  • tests:+8 added−8 removed

4 files+8 added−8 removed

modified:test_suite/tests/ui/conflict/alias-enum.rs+1 added-1 removed
69 unmodified lines
70 b,71}7273fn main() {74 @//fail74 __FAIL__;75}
modified:test_suite/tests/ui/conflict/alias-enum.stderr+3 added-3 removed
1error: expected expression, found `@`1error[E0425]: cannot find value `__FAIL__` in this scope2 --> tests/ui/conflict/alias-enum.rs:74:53 |474 | @//fail5 | ^ expected expression474 | __FAIL__;5 | ^^^^^^^^ not found in this scope67warning: unreachable pattern8 --> tests/ui/conflict/alias-enum.rs:13:99 |
70 unmodified lines
modified:test_suite/tests/ui/conflict/alias.rs+1 added-1 removed
33 unmodified lines
34 b: (),35}3637fn main() {38 @//fail38 __FAIL__;39}
modified:test_suite/tests/ui/conflict/alias.stderr+3 added-3 removed
1error: expected expression, found `@`1error[E0425]: cannot find value `__FAIL__` in this scope2 --> tests/ui/conflict/alias.rs:38:53 |438 | @//fail5 | ^ expected expression438 | __FAIL__;5 | ^^^^^^^^ not found in this scope67warning: unreachable pattern8 --> tests/ui/conflict/alias.rs:10:59 |
34 unmodified lines