diff options
| author | est31 <MTest31@outlook.com> | 2017-05-12 08:21:00 +0200 |
|---|---|---|
| committer | est31 <MTest31@outlook.com> | 2017-05-12 09:37:28 +0200 |
| commit | 80891f6e4725efc72c27e4f224123ec292fdd7d4 (patch) | |
| tree | 4debab43e1544d893a5757551449f24a0acbe8e9 /src/libsyntax_ext | |
| parent | 39bcd6f425426bfacd7de9fe0378df4bd9263d00 (diff) | |
| download | rust-80891f6e4725efc72c27e4f224123ec292fdd7d4.tar.gz rust-80891f6e4725efc72c27e4f224123ec292fdd7d4.zip | |
Remove some unused macros from the rust codebase
Removes unused macros from:
* libcore
* libcollections
The last use of these two macros was removed in commit
b64c9d56700e2c41207166fe8709711ff02488ff
when the char_range_at_reverse function was been removed.
* librustc_errors
Their last use was removed by commits
2f2c3e178325dc1837badcd7573c2c0905fab979
and 11dc974a38fd533aa692cea213305056cd3a6902.
* libsyntax_ext
* librustc_trans
Also, put the otry macro in back/msvc/mod.rs under the
same cfg argument as the places that use it.
Diffstat (limited to 'src/libsyntax_ext')
| -rw-r--r-- | src/libsyntax_ext/deriving/mod.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libsyntax_ext/deriving/mod.rs b/src/libsyntax_ext/deriving/mod.rs index b2bb43e41ed..31c7cc33676 100644 --- a/src/libsyntax_ext/deriving/mod.rs +++ b/src/libsyntax_ext/deriving/mod.rs @@ -25,12 +25,6 @@ macro_rules! pathvec { ) } -macro_rules! path { - ($($x:tt)*) => ( - ::ext::deriving::generic::ty::Path::new( pathvec![ $($x)* ] ) - ) -} - macro_rules! path_local { ($x:ident) => ( ::deriving::generic::ty::Path::new_local(stringify!($x)) |
