File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
branches/tmp/src/test/run-fail Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34
34
refs/heads/beta: a3b13610c5b93d9ada072471a001a5613df6a960
35
35
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
36
36
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
37
- refs/heads/tmp: 5e47c6655b41a1bbabb2b2f8891e0a41c9c60b5c
37
+ refs/heads/tmp: 4dfec6cab51619b98eacc27d4521d2e7162f2d50
38
38
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
39
39
refs/tags/homu-tmp: 28a0b25f424090255966273994748a9f9901059f
40
40
refs/heads/gate: 97c84447b65164731087ea82685580cc81424412
Original file line number Diff line number Diff line change 18
18
fn id < T > ( x : T ) -> T { x }
19
19
20
20
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 ) ;
22
23
23
24
// ... but when checking is off, the fallback will truncate the
24
25
// input to its lower three bits (= 1). Note that this is *not*
Original file line number Diff line number Diff line change 18
18
fn id < T > ( x : T ) -> T { x }
19
19
20
20
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 ) ;
22
23
23
24
// ... but when checking is off, the fallback will truncate the
24
25
// input to its lower three bits (= 1). Note that this is *not*
You can’t perform that action at this time.
0 commit comments