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 just max_level_info 2020-09-11 09:37:51 -07:00
rustc_apfloat Backport another LLVM commit to rustc_apfloat 2020-10-04 02:02:25 +02:00
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 Rollup merge of #79016 - fanzier:underscore-expressions, r=petrochenkov 2020-11-15 13:39:48 +01:00
rustc_ast_passes Rename optin_builtin_traits to auto_traits 2020-11-23 14:14:06 -08:00
rustc_ast_pretty Rollup merge of #79016 - fanzier:underscore-expressions, r=petrochenkov 2020-11-15 13:39:48 +01:00
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 Remove unused code from remaining compiler crates 2020-10-14 04:14:32 +02:00
rustc_graphviz Rust coverage before splitting instrument_coverage.rs 2020-11-05 18:24:12 -08:00
rustc_hir resolve: Introduce a separate NonMacroAttrKind for legacy derive helpers 2020-11-19 19:25:20 +03:00
rustc_hir_pretty Fix even more clippy warnings 2020-10-30 10:13:39 -04:00
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 Add back missing comments 2020-10-30 10:13:41 -04:00
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 fully exploited the dropped support of LLVM 8 2020-11-12 14:39:47 +01:00
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 /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
rustc_passes Validate use of parameters in naked functions 2020-11-25 00:00:00 +00:00
rustc_plugin_impl /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
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 Rollup merge of #78352 - JohnTitor:issue-75229, r=Dylan-DPC 2020-11-15 03:02:34 +01:00
rustc_serialize Replace absolute paths with relative ones 2020-10-13 14:16:45 +02:00
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