Skip to content

Commit 9b016dd

Browse files
committed
---
yaml --- r: 194270 b: refs/heads/tmp c: 4dfec6c h: refs/heads/master v: v3
1 parent e3c4773 commit 9b016dd

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
@@ -34,7 +34,7 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3434
refs/heads/beta: a3b13610c5b93d9ada072471a001a5613df6a960
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3636
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
37-
refs/heads/tmp: 5e47c6655b41a1bbabb2b2f8891e0a41c9c60b5c
37+
refs/heads/tmp: 4dfec6cab51619b98eacc27d4521d2e7162f2d50
3838
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3939
refs/tags/homu-tmp: 28a0b25f424090255966273994748a9f9901059f
4040
refs/heads/gate: 97c84447b65164731087ea82685580cc81424412

branches/tmp/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/tmp/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)