rust/compiler
bors 6162529a01 Auto merge of #89100 - petrochenkov:localbind, r=cjgillot
resolve: Use `NameBinding` for local variables and generic parameters

`NameBinding` is a structure used for representing any name introduction (an item, or import, or even a built-in).
Except that local variables and generic parameters weren't represented as `NameBinding`s, for this reason they requires separate paths in name resolution code in several places.

This PR introduces `NameBinding`s for local variables as well and simplifies all the code working with them leaving only the `NameBinding` paths.
2021-10-20 07:21:01 +00:00
..
rustc
rustc_apfloat Revert "Auto merge of #89709 - clemenswasser:apply_clippy_suggestions_2, r=petrochenkov" 2021-10-15 11:28:23 +02:00
rustc_arena
rustc_ast Rollup merge of #89990 - petrochenkov:idempty, r=wesleywiser 2021-10-18 08:13:30 +02:00
rustc_ast_lowering Auto merge of #89124 - cjgillot:owner-info, r=michaelwoerister 2021-10-18 19:53:05 +00:00
rustc_ast_passes Some "parenthesis" and "parentheses" fixes 2021-10-17 12:04:01 +02:00
rustc_ast_pretty Some "parenthesis" and "parentheses" fixes 2021-10-17 12:04:01 +02:00
rustc_attr Correct typo 2021-10-16 13:36:05 -07:00
rustc_borrowck Auto merge of #89933 - est31:let_else, r=michaelwoerister 2021-10-19 14:41:39 +00:00
rustc_builtin_macros rustc_span: Ident::invalid -> Ident::empty 2021-10-17 23:20:30 +03:00
rustc_codegen_cranelift Remove alloc::prelude 2021-10-15 01:41:31 +02:00
rustc_codegen_gcc Remove alloc::prelude 2021-10-15 01:41:31 +02:00
rustc_codegen_llvm Rollup merge of #87404 - rylev:artifact-size-profiling, r=wesleywiser 2021-10-20 04:35:11 +09:00
rustc_codegen_ssa Adopt let_else across the compiler 2021-10-16 07:18:05 +02:00
rustc_const_eval Rollup merge of #88860 - nbdd0121:panic, r=m-ou-se 2021-10-20 04:35:14 +09:00
rustc_data_structures Revert "Auto merge of #89709 - clemenswasser:apply_clippy_suggestions_2, r=petrochenkov" 2021-10-15 11:28:23 +02:00
rustc_driver Auto merge of #89124 - cjgillot:owner-info, r=michaelwoerister 2021-10-18 19:53:05 +00:00
rustc_error_codes Member constraints already covered all of E0482 already, so that error never occurred anymore 2021-10-18 15:50:56 +00:00
rustc_errors Auto merge of #89933 - est31:let_else, r=michaelwoerister 2021-10-19 14:41:39 +00:00
rustc_expand Auto merge of #89933 - est31:let_else, r=michaelwoerister 2021-10-19 14:41:39 +00:00
rustc_feature Revert "Stabilize arbitrary_enum_discriminant" 2021-10-14 10:57:56 -04:00
rustc_fs_util
rustc_graphviz Revert "Auto merge of #89709 - clemenswasser:apply_clippy_suggestions_2, r=petrochenkov" 2021-10-15 11:28:23 +02:00
rustc_hir Rollup merge of #88860 - nbdd0121:panic, r=m-ou-se 2021-10-20 04:35:14 +09:00
rustc_hir_pretty Auto merge of #89124 - cjgillot:owner-info, r=michaelwoerister 2021-10-18 19:53:05 +00:00
rustc_incremental Rollup merge of #87404 - rylev:artifact-size-profiling, r=wesleywiser 2021-10-20 04:35:11 +09:00
rustc_index Revert "Auto merge of #89709 - clemenswasser:apply_clippy_suggestions_2, r=petrochenkov" 2021-10-15 11:28:23 +02:00
rustc_infer Auto merge of #89933 - est31:let_else, r=michaelwoerister 2021-10-19 14:41:39 +00:00
rustc_interface
rustc_lexer Revert "Auto merge of #89709 - clemenswasser:apply_clippy_suggestions_2, r=petrochenkov" 2021-10-15 11:28:23 +02:00
rustc_lint Rollup merge of #89987 - pierwill:fix-85526-docs-hidden-assoc, r=GuillaumeGomez 2021-10-18 08:13:28 +02:00
rustc_lint_defs
rustc_llvm RustWrapper: adapt for an LLVM API change 2021-10-18 09:48:47 +02:00
rustc_macros Revert "Auto merge of #89709 - clemenswasser:apply_clippy_suggestions_2, r=petrochenkov" 2021-10-15 11:28:23 +02:00
rustc_metadata Auto merge of #89933 - est31:let_else, r=michaelwoerister 2021-10-19 14:41:39 +00:00
rustc_middle Auto merge of #89933 - est31:let_else, r=michaelwoerister 2021-10-19 14:41:39 +00:00
rustc_mir_build Adopt let_else across the compiler 2021-10-16 07:18:05 +02:00
rustc_mir_dataflow Adopt let_else across the compiler 2021-10-16 07:18:05 +02:00
rustc_mir_transform Auto merge of #89933 - est31:let_else, r=michaelwoerister 2021-10-19 14:41:39 +00:00
rustc_monomorphize Auto merge of #89933 - est31:let_else, r=michaelwoerister 2021-10-19 14:41:39 +00:00
rustc_parse Rollup merge of #89990 - petrochenkov:idempty, r=wesleywiser 2021-10-18 08:13:30 +02:00
rustc_parse_format
rustc_passes
rustc_plugin_impl
rustc_privacy
rustc_query_impl Rollup merge of #87404 - rylev:artifact-size-profiling, r=wesleywiser 2021-10-20 04:35:11 +09:00
rustc_query_system Rollup merge of #87404 - rylev:artifact-size-profiling, r=wesleywiser 2021-10-20 04:35:11 +09:00
rustc_resolve Auto merge of #89100 - petrochenkov:localbind, r=cjgillot 2021-10-20 07:21:01 +00:00
rustc_save_analysis
rustc_serialize Revert "Auto merge of #89709 - clemenswasser:apply_clippy_suggestions_2, r=petrochenkov" 2021-10-15 11:28:23 +02:00
rustc_session Rollup merge of #87404 - rylev:artifact-size-profiling, r=wesleywiser 2021-10-20 04:35:11 +09:00
rustc_span Rollup merge of #88860 - nbdd0121:panic, r=m-ou-se 2021-10-20 04:35:14 +09:00
rustc_symbol_mangling
rustc_target Auto merge of #90040 - nbdd0121:issue-90038, r=oli-obk 2021-10-19 08:13:35 +00:00
rustc_trait_selection Auto merge of #89933 - est31:let_else, r=michaelwoerister 2021-10-19 14:41:39 +00:00
rustc_traits Move some outlives bounds things from rustc_trait_selection to rustc_typeck 2021-10-15 12:14:19 -04:00
rustc_ty_utils
rustc_type_ir
rustc_typeck Rollup merge of #90025 - JohnTitor:revert-86011, r=estebank 2021-10-20 04:35:17 +09:00