summaryrefslogtreecommitdiffstats
path: root/tests/ui/invalid-compile-flags/fuel.rs
blob: 456bc47d359ee439511510888daa2ac8fdd43295 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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() {}