rust/compiler
Matthias Krüger f9dfb6e32f
Rollup merge of #103544 - Nilstrieb:no-recovery-pls, r=compiler-errors
Add flag to forbid recovery in the parser

To start the effort of fixing #103534, this adds a new flag to the parser, which forbids the parser from doing recovery, which it shouldn't do in macros.

This doesn't add any new checks for recoveries yet and is just here to bikeshed the names for the functions here before doing more.

r? `@compiler-errors`
2022-10-27 15:03:58 +02:00
..
rustc rustc: Use unix_sigpipe instead of rustc_driver::set_sigpipe_handler 2022-10-02 17:49:36 +02:00
rustc_apfloat Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_arena Make use of [wrapping_]byte_{add,sub} 2022-08-23 19:32:37 +04:00
rustc_ast remove unused parser fn 2022-10-26 19:19:44 +00:00
rustc_ast_lowering Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_ast_passes Rollup merge of #95710 - fee1-dead-contrib:stabilize_arbitrary_enum_discriminant, r=joshtriplett 2022-10-26 17:32:53 +05:30
rustc_ast_pretty Rename AssocItemKind::TyAlias to AssocItemKind::Type 2022-10-10 02:31:37 +00:00
rustc_attr Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_borrowck Rollup merge of #103255 - oli-obk:opaque_wrong_eq_relation, r=compiler-errors 2022-10-27 15:03:55 +02:00
rustc_builtin_macros Rollup merge of #103430 - cjgillot:receiver-attrs, r=petrochenkov 2022-10-26 11:29:55 +05:30
rustc_codegen_cranelift Support raw-dylib functions being used inside inlined functions 2022-10-24 16:17:38 -07:00
rustc_codegen_gcc Support raw-dylib functions being used inside inlined functions 2022-10-24 16:17:38 -07:00
rustc_codegen_llvm Support raw-dylib functions being used inside inlined functions 2022-10-24 16:17:38 -07:00
rustc_codegen_ssa Rollup merge of #103511 - nnethercote:bb-tweaks, r=bjorn3 2022-10-25 14:43:16 +05:30
rustc_const_eval Auto merge of #103572 - Dylan-DPC:rollup-a8bnxrw, r=Dylan-DPC 2022-10-26 14:12:16 +00:00
rustc_data_structures fix some typos 2022-10-21 18:04:00 +08:00
rustc_driver Remove rustc_driver::set_sigpipe_handler() 2022-10-25 19:13:23 +02:00
rustc_error_codes Rollup merge of #95710 - fee1-dead-contrib:stabilize_arbitrary_enum_discriminant, r=joshtriplett 2022-10-26 17:32:53 +05:30
rustc_error_messages Split diagnostic details out into a separate function and fluent files 2022-10-25 18:28:04 +00:00
rustc_errors Allow specifying multiple alternative suggestions 2022-10-23 18:59:13 +02:00
rustc_expand Rollup merge of #103544 - Nilstrieb:no-recovery-pls, r=compiler-errors 2022-10-27 15:03:58 +02:00
rustc_feature Rollup merge of #95710 - fee1-dead-contrib:stabilize_arbitrary_enum_discriminant, r=joshtriplett 2022-10-26 17:32:53 +05:30
rustc_fs_util Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_graphviz Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_hir Use tidy-alphabetical in the compiler 2022-10-12 17:49:10 +05:30
rustc_hir_analysis Rollup merge of #103586 - compiler-errors:issue-103573, r=jackh726 2022-10-27 09:25:11 +02:00
rustc_hir_pretty pretty: fix to print some lifetimes on HIR pretty-print 2022-10-15 23:34:21 +09:00
rustc_hir_typeck suggest type annotation for local statement initialed by ref expression 2022-10-24 17:16:31 +08:00
rustc_incremental Rollup merge of #102829 - compiler-errors:rename-impl-item-kind, r=TaKO8Ki 2022-10-10 00:09:42 +09:00
rustc_index Remove from compiler/ crates 2022-09-29 16:49:04 +09:00
rustc_infer Rollup merge of #103255 - oli-obk:opaque_wrong_eq_relation, r=compiler-errors 2022-10-27 15:03:55 +02:00
rustc_interface rustc_middle: Rearrange resolver outputs structures slightly 2022-10-25 15:42:29 +04:00
rustc_lexer rustc_lexer::TokenKind improve docs 2022-10-26 23:32:14 +02:00
rustc_lint Rollup merge of #103402 - joshtriplett:niche-wrap-fix, r=oli-obk 2022-10-23 14:48:17 -07:00
rustc_lint_defs Rollup merge of #102635 - lcnr:incoherent_auto_trait_objects, r=jackh726 2022-10-22 00:13:59 +02:00
rustc_llvm llvm-16: Don't initialize removed legacy passes 2022-10-25 15:03:21 -07:00
rustc_log Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_macros Allow specifying multiple alternative suggestions 2022-10-23 18:59:13 +02:00
rustc_metadata Rollup merge of #103524 - petrochenkov:modchild4, r=cjgillot 2022-10-27 15:03:57 +02:00
rustc_middle Rollup merge of #103428 - SarthakSingh31:issue-94187, r=compiler-errors 2022-10-26 17:32:54 +05:30
rustc_mir_build Comment why normalization is needed for debug assertions 2022-10-23 17:23:35 +00:00
rustc_mir_dataflow Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_mir_transform Split phase change from MirPass 2022-10-23 14:18:09 -07:00
rustc_monomorphize Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_parse Rollup merge of #103544 - Nilstrieb:no-recovery-pls, r=compiler-errors 2022-10-27 15:03:58 +02:00
rustc_parse_format Detect and reject out-of-range integers in format string literals 2022-10-01 01:05:01 +02:00
rustc_passes Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_plugin_impl Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_privacy Perf improvements for effective visibility calculating 2022-10-25 15:15:18 +03:00
rustc_query_impl Introduce deduced parameter attributes, and use them for deducing readonly on 2022-10-21 02:33:15 -07:00
rustc_query_system Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_resolve Rollup merge of #103520 - petrochenkov:resout, r=cjgillot 2022-10-26 11:29:56 +05:30
rustc_save_analysis Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_serialize remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
rustc_session Introduce dedicated -Zdylib-lto flag for enabling LTO on dylibs 2022-10-23 13:48:03 +02:00
rustc_smir Only keep one version of ImplicitSelfKind. 2022-09-13 19:18:23 +02:00
rustc_span Auto merge of #102536 - scottmcm:lookup_line-tweak, r=jackh726 2022-10-24 07:24:45 +00:00
rustc_symbol_mangling Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_target Split is_stable from rustc_target::spec::abi::is_enabled. 2022-10-19 12:41:11 +02:00
rustc_trait_selection Move a wf-check into the site where the value is instantiated 2022-10-25 14:47:24 +00:00
rustc_traits rm try_normalize_mir_const_after_erasing_regions 2022-10-17 10:54:03 +02:00
rustc_transmute Remove TypeckResults from InferCtxt 2022-10-07 07:06:19 -05:00
rustc_ty_utils Auto merge of #103284 - compiler-errors:const-sad, r=oli-obk 2022-10-26 11:29:15 +00:00
rustc_type_ir Deny const variables as well 2022-10-19 17:11:40 +00:00