Skip to content

Commit f4da71e

Browse files
committed
work around deviation in diagnostic output for opt-level=0 by forcing -O.
1 parent 58c7a78 commit f4da71e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/ui/lint/lint-type-overflow2.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10-
//
1110

11+
// compile-flags: -O
1212
#![warn(overflowing_literals)]
1313
#![warn(const_err)]
1414
// compile-pass

0 commit comments

Comments
 (0)