From f4da71e04e1929d91a84855940c04d69d6166ce3 Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Wed, 7 Nov 2018 15:58:59 +0100 Subject: [PATCH] work around deviation in diagnostic output for opt-level=0 by forcing `-O`. --- src/test/ui/lint/lint-type-overflow2.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/ui/lint/lint-type-overflow2.rs b/src/test/ui/lint/lint-type-overflow2.rs index c5fea3cd6caa4..82ec3be15969a 100644 --- a/src/test/ui/lint/lint-type-overflow2.rs +++ b/src/test/ui/lint/lint-type-overflow2.rs @@ -7,8 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. -// +// compile-flags: -O #![warn(overflowing_literals)] #![warn(const_err)] // compile-pass