064997fb FG |
1 | // compile-flags: --diagnostic-width=20 |
2 | |
3 | // This test checks that `-Z output-width` effects the human error output by restricting it to an |
4 | // arbitrarily low value so that the effect is visible. |
5 | |
6 | fn main() { |
7 | let _: () = 42; |
8 | //~^ ERROR mismatched types |
9 | } |