diff options
| author | Oliver Schneider <oli-obk@users.noreply.github.com> | 2018-04-23 11:12:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-23 11:12:33 +0200 |
| commit | bb367c47201c7f1acba702e49be1f4bcdf4221ef (patch) | |
| tree | d6dbd58fa73eb872c9df090ae7977b7e54bbb1d4 | |
| parent | a406af885d68d86780651f51a778267df13f23ae (diff) | |
| download | rust-bb367c47201c7f1acba702e49be1f4bcdf4221ef.tar.gz rust-bb367c47201c7f1acba702e49be1f4bcdf4221ef.zip | |
always optimize test
The error messages differ between optimized and nonoptimized mode
| -rw-r--r-- | src/test/ui/const-eval/promoted_errors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/const-eval/promoted_errors.rs b/src/test/ui/const-eval/promoted_errors.rs index c6d62e20576..dc30c7f9cce 100644 --- a/src/test/ui/const-eval/promoted_errors.rs +++ b/src/test/ui/const-eval/promoted_errors.rs @@ -9,7 +9,7 @@ // except according to those terms. // compile-pass - +// compile-flags: -O fn main() { println!("{}", 0u32 - 1); //~^ WARN const_err |
