Skip to content

Commit ef3f649

Browse files
committed
Auto merge of #2535 - oli-obk:rustup, r=oli-obk
Rustup fix breakage in rust-lang/rust#101522
2 parents b8a97c4 + f9ff70c commit ef3f649

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

rust-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
dec689432fac6720b2f18101ac28a21add98b1b8
1+
e7c7aa7288559f8e5ea7ce3543ff946b09783628

tests/fail/intrinsics/assume.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ fn main() {
55
unsafe {
66
std::intrinsics::assume(x < 10);
77
std::intrinsics::assume(x > 1);
8-
std::intrinsics::assume(x > 42); //~ ERROR: `assume` intrinsic called with `false`
8+
std::intrinsics::assume(x > 42); //~ ERROR: `assume` called with `false`
99
}
1010
}

tests/fail/intrinsics/assume.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
error: Undefined Behavior: `assume` intrinsic called with `false`
1+
error: Undefined Behavior: `assume` called with `false`
22
--> $DIR/assume.rs:LL:CC
33
|
44
LL | std::intrinsics::assume(x > 42);
5-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `assume` intrinsic called with `false`
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `assume` called with `false`
66
|
77
= help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
88
= help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information

0 commit comments

Comments
 (0)