about summary refs log tree commit diff
path: root/src/libsyntax_pos/symbol.rs
AgeCommit message (Expand)AuthorLines
2019-05-27Use `Symbol` more in lint APIsOliver Scherer-0/+10
2019-05-27Use `Symbol` equality in `may_begin_with` and `parse_nt`.Nicholas Nethercote-0/+7
2019-05-27Use `Symbol` equality in `is_ident_named`.Nicholas Nethercote-0/+2
2019-05-27Pre-intern "0", "1", ..., "9", and use where appropriate.Nicholas Nethercote-2/+18
2019-05-27Pass symbols to `ExtCtxt::std_path` instead of strings.Nicholas Nethercote-0/+21
2019-05-27Avoid unnecessary internings.Nicholas Nethercote-0/+6
2019-05-27Avoid interning in `resolve_place_op`.Nicholas Nethercote-0/+4
2019-05-24Don't arena-allocate static symbols.Nicholas Nethercote-13/+6
2019-05-23syntax: Some code cleanupVadim Petrochenkov-0/+2
2019-05-23Auto merge of #60740 - petrochenkov:kw, r=nnethercotebors-36/+29
2019-05-22Restore the old behavior of the rustdoc keyword check + Fix rebaseVadim Petrochenkov-0/+5
2019-05-22Eliminate unnecessary `Ident::with_empty_ctxt`sVadim Petrochenkov-0/+5
2019-05-22Simplify use of keyword symbolsVadim Petrochenkov-36/+19
2019-05-22Allow null-pointer-optimized enums in FFI if their underlying representation ...Michael Bradshaw-0/+1
2019-05-22Rollup merge of #61003 - nnethercote:rm-InternedString-PartialEq-impls, r=pet...Mazdak Farrokhzad-37/+1
2019-05-21Move `edition` outside the hygiene lock and avoid accessing itJohn Kåre Alsaker-1/+2
2019-05-21Remove impls for `InternedString`/string equality.Nicholas Nethercote-37/+1
2019-05-21Auto merge of #60903 - nnethercote:mv-gensyms-from-Symbol-to-Ident, r=petroch...bors-35/+38
2019-05-20Remove `Symbol::gensym()`.Nicholas Nethercote-25/+31
2019-05-20Eliminate `Symbol::gensymed`.Nicholas Nethercote-5/+2
2019-05-20Move `is_gensymed` from `Symbol` to `Ident`.Nicholas Nethercote-5/+5
2019-05-20Auto merge of #60815 - nnethercote:use-Symbol-more-2, r=petrochenkovbors-2/+20
2019-05-20Introduce `LocalInternedString::intern`.Nicholas Nethercote-1/+12
2019-05-20Introduce `InternedString::intern`.Nicholas Nethercote-1/+8
2019-05-19Stop using gensyms in HIR loweringMatthew Jasper-0/+7
2019-05-17Avoid unnecessary interning in `DefPathData::as_interned_str()`.Nicholas Nethercote-0/+7
2019-05-17Avoid unnecessary interning in `Ident::from_str()` calls.Nicholas Nethercote-0/+2
2019-05-17Change `rustc::util::common::FN_OUTPUT_NAME` to a `Symbol`.Nicholas Nethercote-0/+1
2019-05-15Move `box` from the stable keyword to unstable keywords listPulkit Goyal-1/+1
2019-05-13Remove the equality operation between `Symbol` and strings.Nicholas Nethercote-6/+0
2019-05-13Rename `syntax::symbol::symbols` as `syntax::symbol::sym`.Nicholas Nethercote-3/+4
2019-05-13Add lots of static `Symbols`.Nicholas Nethercote-4/+384
2019-05-11Auto merge of #60700 - petrochenkov:preintern, r=nnethercotebors-9/+10
2019-05-10syntax_pos: Optimize symbol interner pre-filling slightlyVadim Petrochenkov-9/+10
2019-05-10Reduce `Symbol`'s interface slightly.Nicholas Nethercote-5/+1
2019-05-10Remove the `From<InternedString> for String` impl.Nicholas Nethercote-6/+0
2019-05-10Add various comments.Nicholas Nethercote-9/+43
2019-05-10Avoid recursion in de-gensym functions.Nicholas Nethercote-2/+5
2019-05-10Add `InternedString::with2`.Nicholas Nethercote-2/+11
2019-05-07Implement built-in await syntaxTaylor Cramer-0/+1
2019-04-15Preallocate BUILTIN_ATTRIBUTES symbols and use a hash map instead of loopingJohn Kåre Alsaker-10/+121
2019-04-15Use colon for keyword defsJohn Kåre Alsaker-61/+61
2019-04-15Move modules outside the proc macroJohn Kåre Alsaker-0/+28
2019-04-15Make check_name genericJohn Kåre Alsaker-1/+2
2019-04-15Use a proc macro to declare preallocated symbolsJohn Kåre Alsaker-125/+88
2019-04-14Add missing backtick to Symbol documentation.krk-1/+1
2019-03-31Fix lifetime on LocalInternedString::get functionJohn Kåre Alsaker-1/+5
2019-03-19Do not encode gensymed imports in metadataVadim Petrochenkov-0/+4
2019-03-16syntax: Introduce `Ident::can_be_raw`Vadim Petrochenkov-4/+9
2019-02-10rustc: doc commentsAlexander Regueiro-6/+6