]> git.lizzy.rs Git - rust.git/blob - src/test/ui/terminal-width/flag-human.rs
Auto merge of #87150 - rusticstuff:simplify_wrapping_neg, r=m-ou-se
[rust.git] / src / test / ui / terminal-width / flag-human.rs
1 // compile-flags: -Z terminal-width=20
2
3 // This test checks that `-Z terminal-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 }