mirror of
https://git.proxmox.com/git/rustc
synced 2025-05-02 15:13:48 +00:00
10 lines
262 B
Rust
10 lines
262 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
|
|
}
|