]> git.lizzy.rs Git - rust.git/blob - src/test/incremental/warnings-reemitted.rs
Auto merge of #57035 - Zoxc:query-pref9, r=michaelwoerister
[rust.git] / src / test / incremental / warnings-reemitted.rs
1 // revisions: cfail1 cfail2 cfail3
2 // compile-flags: -Coverflow-checks=on
3 // compile-pass
4
5 #![allow(warnings)]
6 #![warn(const_err)]
7
8 fn main() {
9     255u8 + 1; //~ WARNING this expression will panic at run-time
10 }