Use ui test syntax that does not interfere with rustfmt

This commit is contained in:
David Tolnay
2024-11-10 23:50:37 -08:00
parent 1a3cf4b3c1
commit fa5d58cd00
4 changed files with 8 additions and 8 deletions
@@ -1,8 +1,8 @@
error: expected expression, found `@`
error[E0425]: cannot find value `__FAIL__` in this scope
--> tests/ui/conflict/alias-enum.rs:74:5
|
74 | @//fail
| ^ expected expression
74 | __FAIL__;
| ^^^^^^^^ not found in this scope
warning: unreachable pattern
--> tests/ui/conflict/alias-enum.rs:13:9