3 // compile-flags: --error-format pretty-json --json=diagnostic-rendered-ansi
5 // The output for humans should just highlight the whole span without showing
6 // the suggested replacement, but we also want to test that suggested
7 // replacement only removes one set of parentheses, rather than naïvely
8 // stripping away any starting or ending parenthesis characters—hence this
9 // test of the JSON error format.