1 #![feature(prelude_import)]
4 use ::std::prelude::rust_2015::*;
7 // Regression test for #83921. A `delay_span_bug()` call was issued, but the
8 // error was never reported because the pass responsible for detecting and
9 // reporting the error does not run in certain modes of pretty-printing.
11 // Make sure the error is reported if we do not just pretty-print:
12 // revisions: pretty normal
13 // [pretty]compile-flags: -Zunpretty=everybody_loops
19 fn main() { loop { } }