rust/src
David Wood 664ecf1085
hir: simplify is_range_literal
This commit simplifies `is_range_literal` by checking for
`QPath::LangItem` containing range-related lang items, rather than using
a heuristic.

Co-authored-by: Matthew Jasper <mjjasper1@gmail.com>
Signed-off-by: David Wood <david@davidtw.co>
2020-08-16 15:42:27 +01:00
..
bootstrap Auto merge of #74576 - myfreeweb:freebsd-sanitizers, r=oli-obk 2020-08-15 11:38:24 +00:00
build_helper build: Harden env var tracking in build scripts 2020-07-22 19:51:19 +03:00
ci Auto merge of #74576 - myfreeweb:freebsd-sanitizers, r=oli-obk 2020-08-15 11:38:24 +00:00
doc Auto merge of #75431 - ehuss:platform-support, r=Mark-Simulacrum 2020-08-13 06:17:25 +00:00
etc Handle new HashMap layout in CDB, MSVC, WinDbg, etc. 2020-08-07 07:03:15 +01:00
librustc_apfloat
librustc_arena Simplify arena_types macros 2020-08-14 17:34:32 +01:00
librustc_ast replaced log with tracing 2020-08-15 13:03:11 -07:00
librustc_ast_lowering hir: introduce QPath::LangItem 2020-08-16 15:42:25 +01:00
librustc_ast_passes Flip order of const & type 2020-08-12 23:19:07 +00:00
librustc_ast_pretty Eliminate the SessionGlobals from librustc_ast. 2020-08-08 12:03:42 +10:00
librustc_attr Rework rustc_serialize 2020-08-14 17:34:30 +01:00
librustc_builtin_macros Rollup merge of #75319 - estebank:format-ice, r=eddyb 2020-08-13 18:00:08 -07:00
librustc_codegen_llvm Rollup merge of #75448 - lcnr:rn-as_local_hir_id, r=davidtwco 2020-08-14 20:07:11 -07:00
librustc_codegen_ssa Auto merge of #74576 - myfreeweb:freebsd-sanitizers, r=oli-obk 2020-08-15 11:38:24 +00:00
librustc_data_structures Rework rustc_serialize 2020-08-14 17:34:30 +01:00
librustc_driver Auto merge of #75575 - marmeladema:only-measure-drop-ast, r=eddyb 2020-08-15 23:55:56 +00:00
librustc_error_codes Rollup merge of #75482 - GuillaumeGomez:cleanup-e0752, r=pickfire 2020-08-14 14:46:51 -07:00
librustc_errors replaced log with tracing 2020-08-15 13:03:11 -07:00
librustc_expand replaced log with tracing 2020-08-15 13:03:11 -07:00
librustc_feature fix min_const_generics version 2020-08-08 13:35:42 +02:00
librustc_fs_util
librustc_graphviz
librustc_hir hir: simplify is_range_literal 2020-08-16 15:42:27 +01:00
librustc_hir_pretty hir: introduce QPath::LangItem 2020-08-16 15:42:25 +01:00
librustc_incremental replaced log with tracing 2020-08-15 13:03:11 -07:00
librustc_index Auto merge of #75537 - tmiasko:match-branch-simplify, r=oli-obk 2020-08-15 13:41:05 +00:00
librustc_infer replaced log with tracing 2020-08-15 13:03:11 -07:00
librustc_interface replaced log with tracing 2020-08-15 13:03:11 -07:00
librustc_lexer Introduce rustc_lexer::is_ident and use it in couple of places 2020-08-11 00:08:04 +03:00
librustc_lint hir: simplify is_range_literal 2020-08-16 15:42:27 +01:00
librustc_llvm Rollup merge of #74643 - petrochenkov:noenvrerun, r=Mark-Simulacrum 2020-07-22 16:34:50 -07:00
librustc_macros Rework rustc_serialize 2020-08-14 17:34:30 +01:00
librustc_metadata replaced log with tracing 2020-08-15 13:03:11 -07:00
librustc_middle hir: introduce QPath::LangItem 2020-08-16 15:42:25 +01:00
librustc_mir replaced log with tracing 2020-08-15 13:03:11 -07:00
librustc_mir_build replaced log with tracing 2020-08-15 13:03:11 -07:00
librustc_parse replaced log with tracing 2020-08-15 13:03:11 -07:00
librustc_parse_format fix clippy::map_identity: remove redundant .map(|x| x) call 2020-08-07 22:47:32 +02:00
librustc_passes hir: introduce QPath::LangItem 2020-08-16 15:42:25 +01:00
librustc_plugin_impl Increase recursion_limit in librustc_plugin_impl. 2020-08-08 12:05:10 +10:00
librustc_privacy hir: introduce QPath::LangItem 2020-08-16 15:42:25 +01:00
librustc_query_system replaced log with tracing 2020-08-15 13:03:11 -07:00
librustc_resolve hir: introduce QPath::LangItem 2020-08-16 15:42:25 +01:00
librustc_save_analysis save_analysis: support QPath::LangItem 2020-08-16 15:42:26 +01:00
librustc_serialize Fix rustc_serialize unit tests 2020-08-14 17:34:32 +01:00
librustc_session replaced log with tracing 2020-08-15 13:03:11 -07:00
librustc_span hir: introduce lang items for AST lowering 2020-08-16 15:42:23 +01:00
librustc_symbol_mangling replaced log with tracing 2020-08-15 13:03:11 -07:00
librustc_target replaced log with tracing 2020-08-15 13:03:11 -07:00
librustc_trait_selection Auto merge of #75536 - estebank:e0255-suggestion, r=varkor 2020-08-16 11:16:44 +00:00
librustc_traits replaced log with tracing 2020-08-15 13:03:11 -07:00
librustc_ty replaced log with tracing 2020-08-15 13:03:11 -07:00
librustc_typeck hir: simplify is_range_literal 2020-08-16 15:42:27 +01:00
librustdoc Rollup merge of #75448 - lcnr:rn-as_local_hir_id, r=davidtwco 2020-08-14 20:07:11 -07:00
llvm-project@86b120e6f3 Update llvm-project to latest origin/rustc/10.0-2020-05-05 commit which includes LVI segfault fix 2020-07-12 18:49:14 +00:00
rustc
rustllvm Auto merge of #75416 - richkadel:llvm-coverage-map-gen-5.3, r=richkadel 2020-08-14 16:27:00 +00:00
test hir: simplify is_range_literal 2020-08-16 15:42:27 +01:00
tools Auto merge of #75514 - gdhuper:gdhuper/replace_log_with_tracing, r=davidtwco 2020-08-15 22:00:06 +00:00
README.md Update outdated readme 2020-07-27 22:05:34 -05:00
stage0.txt Bump to 1.47 2020-07-16 19:36:49 -04:00

This directory contains the source code of the rust project, including:

  • rustc and its tests
  • The bootstrapping build system
  • Various submodules for tools, like rustdoc, rls, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.