Vadim Petrochenkov
52251cd930
Compress "small" spans to 32 bits and intern "large" spans
2017-09-23 00:34:13 +03:00
bors
4ac7646d39
Auto merge of #43832 - huntiep:compiler-desugaring-enum, r=nikomatsakis
...
Implement CompilerDesugaringKind enum
This is the first step outlined in #35946 . I think that the variants of `CompilerDesugaringKind` should be changed, I didn't know what the official names for `...` and `<-` are.
I'm not to sure how tests for the compiler work, but I would imagine that tests should be added such that
`Symbol::intern(s) == CompilerDesugaringKind::from(s).as_symbol()` for valid `s`.
2017-08-18 00:26:08 +00:00
Hunter Praska
ff047a8a25
Use direct references to CompilerDesugaringKind
2017-08-16 18:46:48 -05:00
Zack M. Davis
1b6c9605e4
use field init shorthand EVERYWHERE
...
Like #43008 (f668999), but _much more aggressive_.
2017-08-15 15:29:17 -07:00
Hunter Praska
4acfef8f63
Implement CompilerDesugaringKind enum
2017-08-12 19:43:43 -05:00
Eduard-Mihai Burtescu
8a4facc3c3
syntax: #[allow_internal_unsafe] bypasses the unsafe_code lint in macros.
2017-08-12 09:14:50 +03:00
Jeffrey Seyfried
d4488b7df9
Simplify hygiene::Mark
application, and
...
remove variant `Token::SubstNt` in favor of `quoted::TokenTree::MetaVar`.
2017-06-26 02:05:45 +00:00
Jeffrey Seyfried
dde8dc61dd
Improve efficiency.
2017-05-25 05:52:10 +00:00
Jeffrey Seyfried
bfa2ef62a1
Hygienize librustc_typeck
.
2017-05-25 05:52:05 +00:00
Jeffrey Seyfried
1f175fa35d
Hygienize librustc_resolve
.
2017-05-25 05:51:50 +00:00
Jeffrey Seyfried
ec7c0aece1
Merge ExpnId
and SyntaxContext
.
2017-03-29 00:41:10 +00:00
Jeffrey Seyfried
1979f96549
Move syntax::ext::hygiene
to syntax_pos::hygiene
.
2017-03-29 00:41:08 +00:00