rust/compiler
Matthias Krüger 836f706d9a
Rollup merge of #100338 - lyming2007:issue-100285-fix, r=petrochenkov
when there are 3 or more return statements in the loop

emit the first 3 errors and duplicated diagnostic information
	modified:   compiler/rustc_typeck/src/check/coercion.rs
	new file:   src/test/ui/typeck/issue-100285.rs
	new file:   src/test/ui/typeck/issue-100285.stderr
2022-08-16 06:05:55 +02:00
..
rustc
rustc_apfloat Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
rustc_arena Stabilize ptr_const_cast 2022-08-10 17:22:58 +02:00
rustc_ast Adjust cfgs 2022-08-12 16:28:15 -04:00
rustc_ast_lowering Auto merge of #96745 - ehuss:even-more-attribute-validation, r=cjgillot 2022-08-15 05:50:54 +00:00
rustc_ast_passes Adjust cfgs 2022-08-12 16:28:15 -04:00
rustc_ast_pretty Rollup merge of #100350 - jhpratt:stringify-vis, r=cjgillot 2022-08-11 22:53:06 +02:00
rustc_attr Adjust cfgs 2022-08-12 16:28:15 -04:00
rustc_borrowck TypeError can be Copy 2022-08-14 19:58:46 +00:00
rustc_builtin_macros Rollup merge of #100277 - m-ou-se:format-args-1, r=compiler-errors 2022-08-15 10:28:10 +02:00
rustc_codegen_cranelift also update anyhow in codegen_cranelift 2022-08-08 09:04:26 -04:00
rustc_codegen_gcc Introduce an ArchiveBuilderBuilder 2022-07-28 09:08:47 +00:00
rustc_codegen_llvm Auto merge of #98393 - michaelwoerister:new-cpp-like-enum-debuginfo, r=wesleywiser 2022-08-15 12:59:53 +00:00
rustc_codegen_ssa Rollup merge of #100528 - tux3:riscv-bitmanip-features, r=davidtwco 2022-08-15 20:11:37 +02:00
rustc_const_eval Rollup merge of #100438 - compiler-errors:issue-100360, r=lcnr 2022-08-13 14:10:07 -07:00
rustc_data_structures remove some manual hash stable impls 2022-07-29 12:48:28 +02:00
rustc_driver Error on broken pipe but do not ICE 2022-08-02 01:08:50 +01:00
rustc_error_codes
rustc_error_messages Rollup merge of #100377 - est31:fluent_grepability, r=davidtwco 2022-08-15 20:11:34 +02:00
rustc_errors Adjust cfgs 2022-08-12 16:28:15 -04:00
rustc_expand Adjust cfgs 2022-08-12 16:28:15 -04:00
rustc_feature Rollup merge of #96478 - WaffleLapkin:rustc_default_body_unstable, r=Aaron1011 2022-08-09 17:34:50 +05:30
rustc_fs_util
rustc_graphviz
rustc_hir Add visitors for PatField and ExprField. 2022-08-11 21:48:39 -07:00
rustc_hir_pretty Auto merge of #96745 - ehuss:even-more-attribute-validation, r=cjgillot 2022-08-15 05:50:54 +00:00
rustc_incremental Remove trait_of_item query. 2022-08-01 21:39:26 +02:00
rustc_index debuginfo: Change C++-like encoding for enums. 2022-08-12 10:53:07 +02:00
rustc_infer TypeError can be Copy 2022-08-14 19:58:46 +00:00
rustc_interface Adjust cfgs 2022-08-12 16:28:15 -04:00
rustc_lexer Shrink Token. 2022-08-01 08:53:04 +10:00
rustc_lint Auto merge of #96745 - ehuss:even-more-attribute-validation, r=cjgillot 2022-08-15 05:50:54 +00:00
rustc_lint_defs Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
rustc_llvm debuginfo: Change C++-like encoding for enums. 2022-08-12 10:53:07 +02:00
rustc_log
rustc_macros Change fluent_messages macro to expect _ slugs instead of - slugs 2022-08-12 22:26:08 +02:00
rustc_metadata Adjust cfgs 2022-08-12 16:28:15 -04:00
rustc_middle Auto merge of #96745 - ehuss:even-more-attribute-validation, r=cjgillot 2022-08-15 05:50:54 +00:00
rustc_mir_build Adjust cfgs 2022-08-12 16:28:15 -04:00
rustc_mir_dataflow Remove redundant TransferWrapper struct 2022-08-01 17:08:19 +02:00
rustc_mir_transform Adjust cfgs 2022-08-12 16:28:15 -04:00
rustc_monomorphize Refuse to codegen an upstream static. 2022-08-10 18:30:12 +02:00
rustc_parse Rollup merge of #100559 - nnethercote:parser-simplifications, r=compiler-errors 2022-08-15 20:11:38 +02:00
rustc_parse_format add a comment about what we can parse now 2022-08-04 20:43:35 +09:00
rustc_passes Rollup merge of #100031 - GoldsteinE:try-removing-the-field, r=michaelwoerister 2022-08-15 20:11:32 +02:00
rustc_plugin_impl
rustc_privacy Adjust cfgs 2022-08-12 16:28:15 -04:00
rustc_query_impl Use LocalDefId for closures more 2022-07-30 15:59:17 -05:00
rustc_query_system Remove useless closure. 2022-07-29 22:11:23 +02:00
rustc_resolve Rollup merge of #100367 - fmease:fix-100365, r=compiler-errors 2022-08-13 21:06:49 -07:00
rustc_save_analysis Remove DefId from AssocItemContainer. 2022-08-01 21:38:45 +02:00
rustc_serialize
rustc_session Revert "Revert "Remove num_cpus dependency from bootstrap, build-manifest and rustc_session"" 2022-08-15 16:24:07 +02:00
rustc_smir
rustc_span Rollup merge of #100031 - GoldsteinE:try-removing-the-field, r=michaelwoerister 2022-08-15 20:11:32 +02:00
rustc_symbol_mangling
rustc_target rustc_target: Update some old naming around self contained linking 2022-08-12 18:47:13 +03:00
rustc_trait_selection Rollup merge of #100514 - compiler-errors:issue-100191, r=spastorino 2022-08-15 20:11:36 +02:00
rustc_traits Rollup merge of #100095 - jackh726:early-binder, r=lcnr 2022-08-04 22:25:04 +02:00
rustc_transmute safe transmute: fix broken intradoc link 2022-08-02 14:44:23 +00:00
rustc_ty_utils Add bound_impl_subject and bound_return_ty 2022-08-03 01:02:46 -04:00
rustc_type_ir
rustc_typeck Rollup merge of #100338 - lyming2007:issue-100285-fix, r=petrochenkov 2022-08-16 06:05:55 +02:00