rust/tests/ui/invalid-compile-flags/fuel.rs
2024-02-16 20:02:50 +00:00

12 lines
395 B
Rust

//@ revisions: incremental threads
//@ dont-check-compiler-stderr
//
//@ [threads] compile-flags: -Zfuel=a=1 -Zthreads=2
//@ [threads] error-pattern:optimization fuel is incompatible with multiple threads
//
//@ [incremental] incremental
//@ [incremental] compile-flags: -Zprint-fuel=a
//@ [incremental] error-pattern:optimization fuel is incompatible with incremental compilation
fn main() {}