File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
branches/snap-stage3/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 1
1
---
2
2
refs/heads/master: 809a554fca2d0ebc2ba50077016fe282a4064752
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 5e47c6655b41a1bbabb2b2f8891e0a41c9c60b5c
4
+ refs/heads/snap-stage3: 4dfec6cab51619b98eacc27d4521d2e7162f2d50
5
5
refs/heads/try: ce76bff75603a754d092456285ff455eb871633d
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
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