f363450358
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 #70853 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 #70956 or #70961 (or some other form it) to land first. |
||
---|---|---|
.. | ||
bootstrap | ||
build_helper | ||
ci | ||
doc | ||
etc | ||
liballoc | ||
libarena | ||
libcore | ||
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 | ||
librustc_data_structures | ||
librustc_driver | ||
librustc_error_codes | ||
librustc_errors | ||
librustc_expand | ||
librustc_feature | ||
librustc_fs_util | ||
librustc_hir | ||
librustc_hir_pretty | ||
librustc_incremental | ||
librustc_index | ||
librustc_infer | ||
librustc_interface | ||
librustc_lexer | ||
librustc_lint | ||
librustc_llvm | ||
librustc_macros | ||
librustc_metadata | ||
librustc_middle | ||
librustc_mir | ||
librustc_mir_build | ||
librustc_parse | ||
librustc_passes | ||
librustc_plugin_impl | ||
librustc_privacy | ||
librustc_query_system | ||
librustc_resolve | ||
librustc_save_analysis | ||
librustc_session | ||
librustc_span | ||
librustc_symbol_mangling | ||
librustc_target | ||
librustc_trait_selection | ||
librustc_traits | ||
librustc_ty | ||
librustc_typeck | ||
librustdoc | ||
libserialize | ||
libstd | ||
libterm | ||
libtest | ||
libunwind | ||
llvm-project@027e428197 | ||
rtstartup | ||
rustc | ||
rustllvm | ||
stdarch@1a577bd78e | ||
test | ||
tools | ||
README.md | ||
stage0.txt |
This directory contains the source code of the rust project, including:
rustc
and its testslibstd
- Various submodules for tools, like rustdoc, rls, etc.
For more information on how various parts of the compiler work, see the rustc dev guide.