rust/compiler
Yuki Okushi fb27c4cc70
Rollup merge of #87557 - rylev:fix-invalid-prelude-collision-error, r=nikomatsakis
Fix issue with autofix for ambiguous associated function from Rust 2021 prelude when struct is generic

Fixes #86940

The test cases and associated issue should make it clear what specifically this is meant to fix. The fix is slightly hacky in that we check against the literal source code of the call site for the presence of `<` in order to determine if the user has included the generics for the struct (meaning we don't need to include them for them).

r? ``@nikomatsakis``
2021-07-31 04:09:29 +09:00
..
rustc use jemallocator in rustc/rustdoc 2021-04-04 14:10:26 -07:00
rustc_apfloat Use HTTPS links where possible 2021-06-23 16:26:46 -04:00
rustc_arena Remove (lots of) dead code 2021-03-27 22:16:33 -04:00
rustc_ast Stabilize const_fn_transmute 2021-07-27 16:03:09 -04:00
rustc_ast_lowering Auto merge of #83484 - JulianKnodt:infer, r=oli-obk,lcnr 2021-07-27 16:24:45 +00:00
rustc_ast_passes Rollup merge of #87501 - spastorino:remove-min-tait, r=oli-obk 2021-07-28 18:28:19 +09:00
rustc_ast_pretty Rework SESSION_GLOBALS API to prevent overwriting it 2021-07-08 16:16:28 +02:00
rustc_attr Enhance well-formedness checks for #[repr(...)] attributes 2021-07-09 22:03:48 +02:00
rustc_builtin_macros Add new const_format_args!() macro and use it in panics. 2021-07-28 16:12:25 +02:00
rustc_codegen_cranelift Rollup merge of #87092 - ricobbe:fix-raw-dylib-multiple-definitions, r=petrochenkov 2021-07-18 14:21:56 +09:00
rustc_codegen_llvm Auto merge of #86950 - tmiasko:personality, r=nagisa 2021-07-18 20:33:23 +00:00
rustc_codegen_ssa Auto merge of #87153 - michaelwoerister:debuginfo-names-dyn-trait-projection-bounds, r=wesleywiser 2021-07-19 21:25:43 +00:00
rustc_data_structures Use type_alias_impl_trait instead of min in compiler and lib 2021-07-27 12:27:08 -03:00
rustc_driver Rollup merge of #87553 - bjorn3:fix_hotplug_codegen_version, r=wesleywiser 2021-07-30 16:26:54 +09:00
rustc_error_codes Update error code description 2021-07-30 00:33:30 +02:00
rustc_errors Various diagnostics clean ups/tweaks 2021-07-19 08:43:35 -07:00
rustc_expand Only emit lint for local macros 2021-07-27 14:18:46 -05:00
rustc_feature Auto merge of #87237 - jonas-schievink:const-for-and-try, r=oli-obk 2021-07-30 12:05:48 +00:00
rustc_fs_util
rustc_graphviz Use HTTPS links where possible 2021-06-23 16:26:46 -04:00
rustc_hir Make const panic!("..") work in Rust 2021. 2021-07-28 16:10:41 +02:00
rustc_hir_pretty Auto merge of #83484 - JulianKnodt:infer, r=oli-obk,lcnr 2021-07-27 16:24:45 +00:00
rustc_incremental Move OnDiskCache to rustc_query_impl. 2021-07-18 11:14:07 +02:00
rustc_index Remove unused feature gates 2021-05-31 13:55:43 +02:00
rustc_infer Auto merge of #86461 - crlf0710:rich_vtable, r=nikomatsakis 2021-07-24 10:21:23 +00:00
rustc_interface Rollup merge of #86450 - tmiasko:move-size-limit, r=pnkfelix 2021-07-27 19:52:40 +09:00
rustc_lexer Remove ASCII fast path from rustc_lexer::{is_id_continue, is_id_start} 2021-07-26 20:17:28 -04:00
rustc_lint Auto merge of #83484 - JulianKnodt:infer, r=oli-obk,lcnr 2021-07-27 16:24:45 +00:00
rustc_lint_defs Make SEMICOLON_IN_EXPRESSIONS_FROM_MACROS warn by default 2021-07-27 14:17:37 -05:00
rustc_llvm Rollup merge of #86072 - MarcusCalhoun-Lopez:llvm_cross, r=nagisa 2021-07-31 04:09:19 +09:00
rustc_macros Move OnDiskCache to rustc_query_impl. 2021-07-18 11:14:07 +02:00
rustc_metadata Auto merge of #83723 - cjgillot:ownernode, r=petrochenkov 2021-07-25 11:11:02 +00:00
rustc_middle Auto merge of #86251 - Smittyvb:thir-tree-again, r=oli-obk 2021-07-28 09:01:11 +00:00
rustc_mir Auto merge of #87483 - oli-obk:tait_ice, r=lqd 2021-07-30 07:02:34 +00:00
rustc_mir_build Auto merge of #86251 - Smittyvb:thir-tree-again, r=oli-obk 2021-07-28 09:01:11 +00:00
rustc_parse Auto merge of #85305 - MarcusDunn:master, r=pnkfelix 2021-07-27 05:53:31 +00:00
rustc_parse_format Rework SESSION_GLOBALS API to prevent overwriting it 2021-07-08 16:16:28 +02:00
rustc_passes Add feature gates for for and ? in consts 2021-07-29 23:21:54 +02:00
rustc_plugin_impl Use () for plugin_registrar_fn. 2021-05-12 13:58:43 +02:00
rustc_privacy Actually infer args in visitors 2021-07-26 21:15:18 +00:00
rustc_query_impl Create QuerySideEffects and use it for diagnostics 2021-07-25 20:27:58 -05:00
rustc_query_system Restrict field visibility 2021-07-25 20:43:27 -05:00
rustc_resolve Auto merge of #83484 - JulianKnodt:infer, r=oli-obk,lcnr 2021-07-27 16:24:45 +00:00
rustc_save_analysis Introduce OwnerNode::Crate. 2021-07-25 12:22:47 +02:00
rustc_serialize Emit warnings for unused fields in custom targets. 2021-06-17 21:48:02 +02:00
rustc_session Rollup merge of #86450 - tmiasko:move-size-limit, r=pnkfelix 2021-07-27 19:52:40 +09:00
rustc_span Add feature gates for for and ? in consts 2021-07-29 23:21:54 +02:00
rustc_symbol_mangling Implement Printer for &mut SymbolMangler 2021-07-29 13:30:40 +02:00
rustc_target freebsd remove compiler workaround. 2021-07-25 17:38:44 +01:00
rustc_trait_selection Fix ICE in diagnostic_hir_wf_check 2021-07-28 01:41:52 +02:00
rustc_traits Add initial implementation of HIR-based WF checking for diagnostics 2021-07-16 16:29:02 -05:00
rustc_ty_utils Add impl_constness query 2021-07-10 20:54:49 +08:00
rustc_type_ir Remove unused feature gates 2021-05-31 13:55:43 +02:00
rustc_typeck Rollup merge of #87557 - rylev:fix-invalid-prelude-collision-error, r=nikomatsakis 2021-07-31 04:09:29 +09:00