rust/compiler
bors aefcf1f342 Auto merge of #79427 - Aaron1011:fix/const-array-index, r=oli-obk
Resolve inference variables before trying to remove overloaded indexing

Fixes #79152

This code was already set up to handle indexing an array. However, it
appears that we never end up with an inference variable for the slice
case, so the missing call to `resolve_vars_if_possible` had no effect
until now.
2020-11-26 11:59:17 +00:00
..
rustc
rustc_apfloat
rustc_arena Use specialization to avoid copying 2020-11-20 21:02:09 +01:00
rustc_ast Adjust pretty-print compat hack to work with item statements 2020-11-25 11:32:08 -05:00
rustc_ast_lowering
rustc_ast_passes Rename optin_builtin_traits to auto_traits 2020-11-23 14:14:06 -08:00
rustc_ast_pretty
rustc_attr Never inline naked functions 2020-11-20 00:00:00 +00:00
rustc_builtin_macros Handle Annotatable::Stmt in some builtin macros 2020-11-24 14:04:32 -05:00
rustc_codegen_cranelift Auto merge of #79336 - camelid:rename-feature-oibit-to-auto, r=oli-obk 2020-11-25 07:25:19 +00:00
rustc_codegen_llvm Allow disabling TrapUnreachable via -Ztrap-unreachable=no 2020-11-24 01:08:27 +01:00
rustc_codegen_ssa Use Option::and_then instead of open-coding it 2020-11-22 23:44:05 +01:00
rustc_data_structures Rename optin_builtin_traits to auto_traits 2020-11-23 14:14:06 -08:00
rustc_driver Auto merge of #78548 - camelid:driver-tty, r=oli-obk 2020-11-24 20:58:20 +00:00
rustc_error_codes Rename optin_builtin_traits to auto_traits 2020-11-23 14:14:06 -08:00
rustc_errors Rollup merge of #74293 - GuillaumeGomez:rustdoc-test-compiler-output-color, r=jyn514 2020-11-17 16:13:46 +01:00
rustc_expand Invoke attributes on the statement for statement items 2020-11-24 16:38:58 -05:00
rustc_feature Rename optin_builtin_traits to auto_traits 2020-11-23 14:14:06 -08:00
rustc_fs_util
rustc_graphviz
rustc_hir resolve: Introduce a separate NonMacroAttrKind for legacy derive helpers 2020-11-19 19:25:20 +03:00
rustc_hir_pretty
rustc_incremental Only create OnDiskCache in incremental compilation mode 2020-11-19 15:50:55 -05:00
rustc_index Stabilise then 2020-11-22 13:45:14 +00:00
rustc_infer Thread Constness through selection 2020-11-22 02:13:53 +01:00
rustc_interface Auto merge of #79411 - tmiasko:naked-params, r=Amanieu 2020-11-25 21:22:46 +00:00
rustc_lexer
rustc_lint More consistently use spaces after commas in lists in docs 2020-11-21 14:43:34 -05:00
rustc_lint_defs More consistently use spaces after commas in lists in docs 2020-11-21 14:43:34 -05:00
rustc_llvm
rustc_macros Only create OnDiskCache in incremental compilation mode 2020-11-19 15:50:55 -05:00
rustc_metadata Stabilise then 2020-11-22 13:45:14 +00:00
rustc_middle Auto merge of #79411 - tmiasko:naked-params, r=Amanieu 2020-11-25 21:22:46 +00:00
rustc_mir Rollup merge of #79287 - jonas-schievink:const-trait-impl, r=oli-obk 2020-11-23 15:25:44 +01:00
rustc_mir_build Use the name "auto traits" everywhere in the compiler 2020-11-24 16:25:43 -08:00
rustc_parse Rollup merge of #79299 - varkor:stabilise-then, r=m-ou-se 2020-11-22 23:01:08 +01:00
rustc_parse_format
rustc_passes Validate use of parameters in naked functions 2020-11-25 00:00:00 +00:00
rustc_plugin_impl
rustc_privacy Fix typo in comment 2020-11-22 20:32:36 -05:00
rustc_query_system Fix typos 2020-11-21 09:06:45 +01:00
rustc_resolve Rollup merge of #79374 - mendess:const-param-expr-diagnostic, r=lcnr 2020-11-24 13:17:51 +01:00
rustc_save_analysis
rustc_serialize
rustc_session TRACK '-Z polonius' flag 2020-11-24 20:08:54 -08:00
rustc_span Rename optin_builtin_traits to auto_traits 2020-11-23 14:14:06 -08:00
rustc_symbol_mangling compiler: fold by value 2020-11-16 22:34:57 +01:00
rustc_target Drop support for cloudabi targets 2020-11-22 17:11:41 -05:00
rustc_trait_selection Rollup merge of #79325 - LingMan:try_op, r=jonas-schievink 2020-11-23 15:25:47 +01:00
rustc_traits Auto merge of #78779 - LeSeulArtichaut:ty-visitor-return, r=oli-obk 2020-11-17 12:24:34 +00:00
rustc_ty_utils Move rustc_ty -> rustc_ty_utils 2020-11-19 21:57:29 +01:00
rustc_typeck Resolve inference variables before trying to remove overloaded indexing 2020-11-25 18:41:10 -05:00