diff options
Diffstat (limited to 'tests/ui/diagnostic-width/flag-json.rs')
| -rw-r--r-- | tests/ui/diagnostic-width/flag-json.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/diagnostic-width/flag-json.rs b/tests/ui/diagnostic-width/flag-json.rs index 820f1a049e1..00778872727 100644 --- a/tests/ui/diagnostic-width/flag-json.rs +++ b/tests/ui/diagnostic-width/flag-json.rs @@ -1,5 +1,5 @@ -// compile-flags: --diagnostic-width=20 --error-format=json -// error-pattern:expected `()`, found integer +//@ compile-flags: --diagnostic-width=20 --error-format=json +//@ error-pattern:expected `()`, found integer // This test checks that `-Z output-width` effects the JSON error output by restricting it to an // arbitrarily low value so that the effect is visible. |
