rust/src/librustc
Nicholas Nethercote b96be5b188 Avoid as_str() in ParamTy::is_self.
It's a hot function, and a direct `Symbol` comparison is faster.

The patch also converts some `&InternedString`s to `InternedString`.
2019-05-20 09:16:26 +10:00
..
benches Remove licenses 2018-12-25 21:08:33 -07:00
cfg Remove hir::ExprKind::If and replace it with lowering to hir::ExprKind::Match. 2019-05-10 19:41:10 +02:00
dep_graph Only hash dep node indices of deps of anon tasks 2019-05-06 13:57:33 +02:00
hir Avoid as_str() in ParamTy::is_self. 2019-05-20 09:16:26 +10:00
ich Pass a Symbol to check_name, emit_feature_err, and related functions. 2019-05-13 09:29:22 +10:00
infer Avoid as_str() in ParamTy::is_self. 2019-05-20 09:16:26 +10:00
lint Auto merge of #49799 - hdhoang:46205_deny_incoherent_fundamental_impls, r=nikomatsakis 2019-05-17 23:06:51 +00:00
middle Return a Symbol from name_or_empty functions. 2019-05-13 09:31:32 +10:00
mir rustc: rename all occurences of "freevar" to "upvar". 2019-05-05 18:49:32 +03:00
query Pass a Symbol to check_name, emit_feature_err, and related functions. 2019-05-13 09:29:22 +10:00
session Rollup merge of #60769 - ehuss:rustc-cli-docs, r=steveklabnik 2019-05-16 10:43:33 +02:00
traits Rollup merge of #60934 - fabric-and-ink:defindex_with_newtype_macro, r=petrochenkov 2019-05-19 02:31:42 +02:00
ty Avoid as_str() in ParamTy::is_self. 2019-05-20 09:16:26 +10:00
util Change rustc::util::common::FN_OUTPUT_NAME to a Symbol. 2019-05-17 20:04:20 +10:00
arena.rs Rollup merge of #60287 - Zoxc:the-arena-variances_of, r=eddyb 2019-05-01 08:29:09 +02:00
build.rs Remove licenses 2018-12-25 21:08:33 -07:00
Cargo.toml Bump measureme dependency to 0.3 2019-05-13 22:15:55 -04:00
error_codes.rs Implement built-in await syntax 2019-05-07 14:45:53 -07:00
lib.rs Introduce hir::ExprKind::Use and employ in for loop desugaring. 2019-04-25 11:51:53 +02:00
macros.rs Remove double trailing newlines 2019-04-22 16:57:01 +01:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00

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