rust/src/librustc
Mazdak Farrokhzad 4dfbaba3bf
Rollup merge of #64141 - nnethercote:minimize-LocalInternedString, r=petrochenkov
Minimize uses of `LocalInternedString`

`LocalInternedString` is described as "An alternative to `Symbol` and `InternedString`, useful when the chars within the symbol need to be accessed. It is best used for temporary values."

This PR makes the code match that comment, by removing all non-local uses of `LocalInternedString`. This allows the removal of a number of operations on `LocalInternedString` and a couple of uses of `unsafe`.
2019-09-05 03:59:49 +02:00
..
benches Remove licenses 2018-12-25 21:08:33 -07:00
cfg Initial implementation of or patterns 2019-08-17 15:05:36 +00:00
dep_graph Refactor diagnostic emission for green nodes 2019-07-11 02:09:37 +02:00
hir Remove hashing impls for LocalInternedString. 2019-09-04 14:41:07 +10:00
ich Rollup merge of #64141 - nnethercote:minimize-LocalInternedString, r=petrochenkov 2019-09-05 03:59:49 +02:00
infer Rollup merge of #64110 - estebank:receiver-type, r=Centril 2019-09-05 03:59:44 +02:00
lint Remove LocalInternedString uses from librustc/lint/. 2019-09-03 16:02:32 +10:00
middle Add a "diagnostic item" scheme 2019-08-30 01:00:55 +02:00
mir Rollup merge of #64005 - ecstatic-morse:is-indirect, r=oli-obk 2019-09-05 03:59:37 +02:00
query Add a "diagnostic item" scheme 2019-08-30 01:00:55 +02:00
session Auto merge of #63402 - estebank:strip-margin, r=oli-obk 2019-08-30 06:49:15 +00:00
traits Rollup merge of #64141 - nnethercote:minimize-LocalInternedString, r=petrochenkov 2019-09-05 03:59:49 +02:00
ty Rollup merge of #64141 - nnethercote:minimize-LocalInternedString, r=petrochenkov 2019-09-05 03:59:49 +02:00
util librustc: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
arena.rs Add a "diagnostic item" scheme 2019-08-30 01:00:55 +02:00
build.rs Remove licenses 2018-12-25 21:08:33 -07:00
Cargo.toml cleanup: Remove extern crate serialize as rustc_serializes 2019-07-23 19:20:16 +03:00
error_codes.rs account for DUMMY_SP and correct wording 2019-09-02 22:11:29 -07:00
lib.rs Add a "diagnostic item" scheme 2019-08-30 01:00:55 +02:00
macros.rs Unify all uses of 'gcx and 'tcx. 2019-06-14 18:58:23 +03:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
tests.rs librustc: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00

For more information about how rustc works, see the rustc guide.