summary refs log tree commit diff
path: root/src/test/ui/terminal-width/flag-human.rs
blob: e445a84fd012e7b2089b3d848bcbaed194dd986e (plain)
1
2
3
4
5
6
7
8
9
// compile-flags: -Z terminal-width=20

// This test checks that `-Z terminal-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
}