mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
9 lines
263 B
Rust
9 lines
263 B
Rust
//@ 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
|
|
}
|