File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
branches/snap-stage3/src/librustc_driver Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 9146a919b616e39e528e4d7100d16eef52f1f852
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 392ea799b8c19e79ed65228841fc47da8660d74a
4
+ refs/heads/snap-stage3: db45be2616edb658427fb4986d2418b22150cb16
5
5
refs/heads/try: 20cbbffeefc1f35e2ea63afce7b42fbd79611d42
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 @@ -39,7 +39,7 @@ use std::option;
39
39
use std:: str:: FromStr ;
40
40
use arena:: TypedArena ;
41
41
42
- #[ deriving( PartialEq , Show ) ]
42
+ #[ deriving( Copy , PartialEq , Show ) ]
43
43
pub enum PpSourceMode {
44
44
PpmNormal ,
45
45
PpmExpanded ,
@@ -49,16 +49,12 @@ pub enum PpSourceMode {
49
49
PpmExpandedHygiene ,
50
50
}
51
51
52
- impl Copy for PpSourceMode { }
53
-
54
- #[ deriving( PartialEq , Show ) ]
52
+ #[ deriving( Copy , PartialEq , Show ) ]
55
53
pub enum PpMode {
56
54
PpmSource ( PpSourceMode ) ,
57
55
PpmFlowGraph ,
58
56
}
59
57
60
- impl Copy for PpMode { }
61
-
62
58
pub fn parse_pretty ( sess : & Session , name : & str ) -> ( PpMode , Option < UserIdentifiedItem > ) {
63
59
let mut split = name. splitn ( 1 , '=' ) ;
64
60
let first = split. next ( ) . unwrap ( ) ;
You can’t perform that action at this time.
0 commit comments