Skip to content

Commit 1283c36

Browse files
committed
---
yaml --- r: 191969 b: refs/heads/snap-stage3 c: 4dfec6c h: refs/heads/master i: 191967: 9c3e39a v: v3
1 parent fc4f7c4 commit 1283c36

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 809a554fca2d0ebc2ba50077016fe282a4064752
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 5e47c6655b41a1bbabb2b2f8891e0a41c9c60b5c
4+
refs/heads/snap-stage3: 4dfec6cab51619b98eacc27d4521d2e7162f2d50
55
refs/heads/try: ce76bff75603a754d092456285ff455eb871633d
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/src/test/run-fail/overflowing-lsh-4.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
fn id<T>(x: T) -> T { x }
1919

2020
fn main() {
21-
let x = 1_i8 << id(17); // signals overflow when checking is on
21+
// this signals overflow when checking is on
22+
let x = 1_i8 << id(17);
2223

2324
// ... but when checking is off, the fallback will truncate the
2425
// input to its lower three bits (= 1). Note that this is *not*

branches/snap-stage3/src/test/run-fail/overflowing-rsh-4.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
fn id<T>(x: T) -> T { x }
1919

2020
fn main() {
21-
let x = 2_i8 >> id(17); // signals overflow when checking is on
21+
// this signals overflow when checking is on
22+
let x = 2_i8 >> id(17);
2223

2324
// ... but when checking is off, the fallback will truncate the
2425
// input to its lower three bits (= 1). Note that this is *not*

0 commit comments

Comments
 (0)