Skip to content

Commit 1c77e20

Browse files
committed
Fix some tests failing in --pass check mode
1 parent 36b1a92 commit 1c77e20

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/test/ui/consts/array-literal-index-oob.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// build-pass
2-
// ignore-pass (emit codegen-time warnings and verify that they are indeed warnings and not errors)
2+
// ignore-pass (test emits codegen-time warnings and verifies that they are not errors)
33

44
#![warn(const_err, unconditional_panic)]
55

src/test/ui/consts/const-eval/promoted_errors.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//[opt_with_overflow_checks]compile-flags: -C overflow-checks=on -O
55

66
// build-pass
7-
// ignore-pass (emit codegen-time warnings and verify that they are indeed warnings and not errors)
7+
// ignore-pass (test emits codegen-time warnings and verifies that they are not errors)
88

99
#![warn(const_err, arithmetic_overflow, unconditional_panic)]
1010

src/test/ui/lint/lint-exceeding-bitshifts.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
//[noopt]compile-flags: -C opt-level=0
33
//[opt]compile-flags: -O
44
//[opt_with_overflow_checks]compile-flags: -C overflow-checks=on -O
5-
65
// build-pass
6+
// ignore-pass (test emits codegen-time warnings and verifies that they are not errors)
77

88
#![crate_type="lib"]
99
#![warn(arithmetic_overflow, const_err)]

0 commit comments

Comments
 (0)