rust/src
bors f363450358 Auto merge of - marmeladema:issue70853/librustc_middle-local-def-id, r=eddyb
rustc_middle: return `LocalDefId` where possible in hir::map module

This changes the return type of the following functions to return a `LocalDefId` instead of a `DefId`:
* opt_local_def_id_from_node_id
* opt_local_def_id
* body_owner_def_id
* local_def_id_from_node_id
* get_parent_id

This is another step in the right direction for 

This pull request will be followed by another (substantial one) which changes the return type of `local_def_id` function but this change being more invasive, we might want to wait for  or  (or some other form it) to land first.
2020-04-10 23:13:13 +00:00
..
bootstrap Enforce Python 3 as much as possible 2020-04-10 09:09:58 -04:00
build_helper
ci Auto merge of - GuillaumeGomez:drop-python2, r=Mark-Simulacrum 2020-04-10 16:13:20 +00:00
doc Fix JSON file_name documentation for macros. 2020-04-09 18:54:53 -07:00
etc Enforce Python 3 as much as possible 2020-04-10 09:09:58 -04:00
liballoc Rollup merge of - ssomers:btreemap_into_into_iter, r=Mark-Simulacrum 2020-04-10 18:15:24 +02:00
libarena
libcore Rollup merge of - cuviper:optional-chain, r=scottmcm 2020-04-09 05:29:43 +02:00
libfmt_macros
libgraphviz
libpanic_abort
libpanic_unwind
libproc_macro
libprofiler_builtins
librustc_apfloat
librustc_ast
librustc_ast_lowering
librustc_ast_passes
librustc_ast_pretty
librustc_attr
librustc_builtin_macros
librustc_codegen_llvm
librustc_codegen_ssa fix rustc-dev-guide url in src/librustc_codegen_ssa 2020-04-10 22:48:34 +08:00
librustc_data_structures Use tri-color search for unconditional recursion lint 2020-04-09 21:07:48 -07:00
librustc_driver
librustc_error_codes Rollup merge of - GuillaumeGomez:cleanup-e0512, r=Dylan-DPC 2020-04-10 18:15:26 +02:00
librustc_errors
librustc_expand
librustc_feature
librustc_fs_util
librustc_hir Rollup merge of - eddyb:rc-arc-diagnostic-items, r=matthewjasper 2020-04-10 12:48:45 +02:00
librustc_hir_pretty
librustc_incremental
librustc_index
librustc_infer Auto merge of - marmeladema:issue70853/librustc_middle-local-def-id, r=eddyb 2020-04-10 23:13:13 +00:00
librustc_interface librustc_middle: return LocalDefId instead of DefId in body_owner_def_id 2020-04-10 12:13:54 +01:00
librustc_lexer
librustc_lint librustc_middle: return LocalDefId instead of DefId in body_owner_def_id 2020-04-10 12:13:54 +01:00
librustc_llvm
librustc_macros
librustc_metadata
librustc_middle Auto merge of - marmeladema:issue70853/librustc_middle-local-def-id, r=eddyb 2020-04-10 23:13:13 +00:00
librustc_mir Auto merge of - marmeladema:issue70853/librustc_middle-local-def-id, r=eddyb 2020-04-10 23:13:13 +00:00
librustc_mir_build Use tri-color search for unconditional recursion lint 2020-04-09 21:07:48 -07:00
librustc_parse
librustc_passes librustc_middle: return LocalDefId instead of DefId in get_parent_did 2020-04-10 12:13:54 +01:00
librustc_plugin_impl
librustc_privacy librustc_middle: return LocalDefId instead of DefId in get_parent_did 2020-04-10 12:13:54 +01:00
librustc_query_system
librustc_resolve Auto merge of - marmeladema:issue70853/librustc_hir-local-def-id, r=eddyb 2020-04-09 23:22:23 +00:00
librustc_save_analysis librustc_middle: return LocalDefId instead of DefId in local_def_id_from_node_id 2020-04-10 12:13:54 +01:00
librustc_session mark a temporary hack as such 2020-04-09 23:02:13 +02:00
librustc_span Auto merge of - marmeladema:issue70853/librustc_middle-local-def-id, r=eddyb 2020-04-10 23:13:13 +00:00
librustc_symbol_mangling
librustc_target
librustc_trait_selection Auto merge of - marmeladema:issue70853/librustc_middle-local-def-id, r=eddyb 2020-04-10 23:13:13 +00:00
librustc_traits
librustc_ty
librustc_typeck Auto merge of - marmeladema:issue70853/librustc_middle-local-def-id, r=eddyb 2020-04-10 23:13:13 +00:00
librustdoc librustc_middle: return LocalDefId instead of DefId in local_def_id_from_node_id 2020-04-10 12:13:54 +01:00
libserialize
libstd
libterm
libtest
libunwind
llvm-project@027e428197
rtstartup
rustc
rustllvm
stdarch@1a577bd78e
test Auto merge of - Centril:rollup-lftv0a3, r=Centril 2020-04-10 19:28:38 +00:00
tools Auto merge of - Centril:rollup-lftv0a3, r=Centril 2020-04-10 19:28:38 +00:00
README.md
stage0.txt

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

  • rustc and its tests
  • libstd
  • Various submodules for tools, like rustdoc, rls, etc.

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