about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-07-17 22:12:59 -0700
committerGitHub <noreply@github.com>2016-07-17 22:12:59 -0700
commit6cc49e51de7ea9b0cc4aff437975544233c57107 (patch)
tree78fe6d19a51ef5a98b18e7198af09fba539fd219 /src/libsyntax/parse
parentf441bca4993450e4a2f63bac382f9ebc4be274d1 (diff)
parent275d321ab099b4d7b0de71aa72a87eb27de120af (diff)
downloadrust-6cc49e51de7ea9b0cc4aff437975544233c57107.tar.gz
rust-6cc49e51de7ea9b0cc4aff437975544233c57107.zip
Auto merge of #34860 - jseyfried:encapsulate_hygiene, r=nrc
Clean up and encapsulate `syntax::ext::mtwt`, rename `mtwt` to `hygiene`

r? @nrc
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/token.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs
index fe9d3ef7c23..f0a6f8edeec 100644
--- a/src/libsyntax/parse/token.rs
+++ b/src/libsyntax/parse/token.rs
@@ -633,8 +633,3 @@ pub fn fresh_name(src: ast::Ident) -> ast::Name {
     /*let num = rand::thread_rng().gen_uint_range(0,0xffff);
     gensym(format!("{}_{}",ident_to_string(src),num))*/
 }
-
-// create a fresh mark.
-pub fn fresh_mark() -> ast::Mrk {
-    gensym("mark").0
-}