2022-07-06 05:57:41 -05:00
|
|
|
// compile-flags: --diagnostic-width=20 --error-format=json
|
2022-06-16 10:39:11 -05:00
|
|
|
|
|
|
|
// 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.
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let _: () = 42;
|
|
|
|
//~^ ERROR arguments to this function are incorrect
|
|
|
|
}
|