blob: a46122ed78350653e08ebad97c5ea343dc0a905a [file] [log] [blame] [edit]
//@ compile-flags: --diagnostic-width=20
// This test checks that `-Z output-width` effects the human error output by restricting it to an
// arbitrarily low value so that the effect is visible.
fn main() {
let _: () = 42;
//~^ ERROR mismatched types
}