Skip to content

Commit 5f8985e

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 163669 b: refs/heads/snap-stage3 c: db45be2 h: refs/heads/master i: 163667: 9ee1d93 v: v3
1 parent 9824b3d commit 5f8985e

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
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: 9146a919b616e39e528e4d7100d16eef52f1f852
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 392ea799b8c19e79ed65228841fc47da8660d74a
4+
refs/heads/snap-stage3: db45be2616edb658427fb4986d2418b22150cb16
55
refs/heads/try: 20cbbffeefc1f35e2ea63afce7b42fbd79611d42
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/src/librustc_driver/pretty.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ use std::option;
3939
use std::str::FromStr;
4040
use arena::TypedArena;
4141

42-
#[deriving(PartialEq, Show)]
42+
#[deriving(Copy, PartialEq, Show)]
4343
pub enum PpSourceMode {
4444
PpmNormal,
4545
PpmExpanded,
@@ -49,16 +49,12 @@ pub enum PpSourceMode {
4949
PpmExpandedHygiene,
5050
}
5151

52-
impl Copy for PpSourceMode {}
53-
54-
#[deriving(PartialEq, Show)]
52+
#[deriving(Copy, PartialEq, Show)]
5553
pub enum PpMode {
5654
PpmSource(PpSourceMode),
5755
PpmFlowGraph,
5856
}
5957

60-
impl Copy for PpMode {}
61-
6258
pub fn parse_pretty(sess: &Session, name: &str) -> (PpMode, Option<UserIdentifiedItem>) {
6359
let mut split = name.splitn(1, '=');
6460
let first = split.next().unwrap();

0 commit comments

Comments
 (0)