Skip to content

Commit

Permalink
work around deviation in diagnostic output for opt-level=0 by forcing…
Browse files Browse the repository at this point in the history
… `-O`.
  • Loading branch information
pnkfelix committed Nov 7, 2018
1 parent 58c7a78 commit f4da71e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/ui/lint/lint-type-overflow2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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
Expand Down

0 comments on commit f4da71e

Please sign in to comment.