Use ui test syntax that does not interfere with rustfmt

This commit is contained in:
David Tolnay committed 2024-11-10 23:50:37 -08:00
1 parent 1a3cf4b3c1
commit fa5d58cd00
4 files changed
+8 -8

No files matched your search

@@ -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