Skip to content

Commit f6e22e5

Browse files
committed
remove dead #[derive(FromPrimitive)] code
1 parent a992241 commit f6e22e5

File tree

2 files changed

+0
-145
lines changed

2 files changed

+0
-145
lines changed

src/libsyntax_ext/deriving/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ pub mod decodable;
6363
pub mod hash;
6464
pub mod debug;
6565
pub mod default;
66-
pub mod primitive;
6766

6867
#[path="cmp/partial_eq.rs"]
6968
pub mod partial_eq;
@@ -178,8 +177,6 @@ derive_traits! {
178177

179178
"Default" => default::expand_deriving_default,
180179

181-
"FromPrimitive" => primitive::expand_deriving_from_primitive,
182-
183180
"Send" => bounds::expand_deriving_unsafe_bound,
184181
"Sync" => bounds::expand_deriving_unsafe_bound,
185182
"Copy" => bounds::expand_deriving_copy,

src/libsyntax_ext/deriving/primitive.rs

Lines changed: 0 additions & 142 deletions
This file was deleted.

0 commit comments

Comments
 (0)