rust/compiler
bors 731e0bf721 Auto merge of #103828 - cassaundra:fix-format-args-span2, r=cjgillot
Fix incorrect span when using byte-escaped rbrace

Fix #103826, a format args span issue introduced in #102214.

The current solution for tracking skipped characters made it so that certain situations were ambiguous enough that the original span couldn't be worked out later. This PR improves on the original solution by keeping track of groups of skipped characters using a map, and fixes the previous bug. See an example of this ambiguity in the [previous PR's discussion](https://github.com/rust-lang/rust/pull/102214#issuecomment-1258711015).
2022-12-26 12:03:47 +00:00
..
rustc rustc: Use unix_sigpipe instead of rustc_driver::set_sigpipe_handler 2022-10-02 17:49:36 +02:00
rustc_abi Auto merge of #105446 - erikdesjardins:vt-size, r=nikic 2022-12-18 22:01:39 +00:00
rustc_apfloat compiler: remove unnecessary imports and qualified paths 2022-12-10 18:45:34 +01:00
rustc_arena compiler: remove unnecessary imports and qualified paths 2022-12-10 18:45:34 +01:00
rustc_ast Auto merge of #105701 - RedDocMD:bug-105634, r=cjgillot 2022-12-25 14:42:49 +00:00
rustc_ast_lowering Rollup merge of #106137 - matthiaskrgr:clippy_style, r=jyn514 2022-12-25 22:15:00 +01:00
rustc_ast_passes Allow impl ~const Trait opaque types 2022-12-15 11:26:15 +00:00
rustc_ast_pretty Auto merge of #105160 - nnethercote:rm-Lit-token_lit, r=petrochenkov 2022-12-12 05:16:50 +00:00
rustc_attr rustc_attr remove ref patterns 2022-12-06 14:45:58 +00:00
rustc_baked_icu_data Update crate documentation of rustc_baked_icu_data crate 2022-11-18 14:46:36 -08:00
rustc_borrowck fix more clippy::style findings 2022-12-25 17:32:26 +01:00
rustc_builtin_macros Rollup merge of #105975 - jeremystucki:rustc-remove-needless-lifetimes, r=eholk 2022-12-24 00:31:41 +01:00
rustc_codegen_cranelift Auto merge of #105613 - Nilstrieb:rename-assert_uninit_valid, r=RalfJung 2022-12-21 23:20:04 +00:00
rustc_codegen_gcc Add missing anonymous lifetime 2022-12-20 22:34:42 +01:00
rustc_codegen_llvm Rollup merge of #105955 - Nilstrieb:no-trivial-opt-wrappers-we-have-field-accesses-for-that, r=cjgillot 2022-12-25 22:15:00 +01:00
rustc_codegen_ssa Auto merge of #105605 - inquisitivecrystal:attr-validation, r=cjgillot 2022-12-26 09:06:51 +00:00
rustc_const_eval Auto merge of #105085 - oli-obk:stop_promoting_all_the_things, r=RalfJung 2022-12-24 14:00:37 +00:00
rustc_data_structures fix some typos 2022-12-25 00:43:50 +01:00
rustc_driver fix more clippy::style findings 2022-12-25 17:32:26 +01:00
rustc_error_codes Rollup merge of #105970 - Ezrashaw:add-docs+test-e0462, r=GuillaumeGomez 2022-12-24 00:31:40 +01:00
rustc_error_messages Rollup merge of #105975 - jeremystucki:rustc-remove-needless-lifetimes, r=eholk 2022-12-24 00:31:41 +01:00
rustc_errors fix more clippy::style findings 2022-12-25 17:32:26 +01:00
rustc_expand fix more clippy::style findings 2022-12-25 17:32:26 +01:00
rustc_feature Auto merge of #102318 - Amanieu:default_alloc_error_handler, r=oli-obk 2022-12-16 21:08:45 +00:00
rustc_fs_util Remove useless borrows and derefs 2022-12-01 17:34:43 +00:00
rustc_graphviz Indicate anonymous lifetime 2022-12-23 15:59:53 +01:00
rustc_hir abort immediately on bad mem::zeroed/uninit 2022-12-22 16:37:42 +01:00
rustc_hir_analysis fix more clippy::style findings 2022-12-25 17:32:26 +01:00
rustc_hir_pretty more clippy::complexity fixes 2022-12-15 00:09:10 +01:00
rustc_hir_typeck fix some typos 2022-12-25 00:43:50 +01:00
rustc_incremental rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
rustc_index A few small cleanups for newtype_index 2022-12-18 21:47:28 +01:00
rustc_infer Rollup merge of #105975 - jeremystucki:rustc-remove-needless-lifetimes, r=eholk 2022-12-24 00:31:41 +01:00
rustc_interface Auto merge of #105812 - ojeda:no-jump-tables, r=nikic 2022-12-21 17:38:38 +00:00
rustc_lexer minor code cleanups 2022-12-12 19:49:53 +01:00
rustc_lint fix more clippy::style findings 2022-12-25 17:32:26 +01:00
rustc_lint_defs fix some typos 2022-12-25 00:43:50 +01:00
rustc_llvm llvm-wrapper: adapt for LLVM API changes 2022-12-11 09:14:50 +00:00
rustc_log Use IsTerminal in rustc_log 2022-10-16 15:10:40 +01:00
rustc_macros rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
rustc_metadata Rollup merge of #106137 - matthiaskrgr:clippy_style, r=jyn514 2022-12-25 22:15:00 +01:00
rustc_middle fix more clippy::style findings 2022-12-25 17:32:26 +01:00
rustc_mir_build Rollup merge of #105975 - jeremystucki:rustc-remove-needless-lifetimes, r=eholk 2022-12-24 00:31:41 +01:00
rustc_mir_dataflow rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
rustc_mir_transform Rollup merge of #105975 - jeremystucki:rustc-remove-needless-lifetimes, r=eholk 2022-12-24 00:31:41 +01:00
rustc_monomorphize Auto merge of #106143 - matthiaskrgr:rollup-3kpy1dc, r=matthiaskrgr 2022-12-25 23:47:11 +00:00
rustc_parse Auto merge of #105701 - RedDocMD:bug-105634, r=cjgillot 2022-12-25 14:42:49 +00:00
rustc_parse_format Auto merge of #103828 - cassaundra:fix-format-args-span2, r=cjgillot 2022-12-26 12:03:47 +00:00
rustc_passes fix more clippy::style findings 2022-12-25 17:32:26 +01:00
rustc_plugin_impl Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_privacy Prevent the creation of TraitRef without dedicated methods 2022-12-14 15:36:39 +00:00
rustc_query_impl Rollup merge of #105975 - jeremystucki:rustc-remove-needless-lifetimes, r=eholk 2022-12-24 00:31:41 +01:00
rustc_query_system Rollup merge of #105975 - jeremystucki:rustc-remove-needless-lifetimes, r=eholk 2022-12-24 00:31:41 +01:00
rustc_resolve Rollup merge of #105769 - lyming2007:issue-105177-fix, r=eholk 2022-12-22 11:03:50 +01:00
rustc_save_analysis rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
rustc_serialize compiler: remove unnecessary imports and qualified paths 2022-12-10 18:45:34 +01:00
rustc_session Rollup merge of #105955 - Nilstrieb:no-trivial-opt-wrappers-we-have-field-accesses-for-that, r=cjgillot 2022-12-25 22:15:00 +01:00
rustc_smir Only keep one version of ImplicitSelfKind. 2022-09-13 19:18:23 +02:00
rustc_span abort immediately on bad mem::zeroed/uninit 2022-12-22 16:37:42 +01:00
rustc_symbol_mangling rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
rustc_target fix some typos 2022-12-25 00:43:50 +01:00
rustc_trait_selection fix more clippy::style findings 2022-12-25 17:32:26 +01:00
rustc_traits rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
rustc_transmute Rollup merge of #105864 - matthiaskrgr:compl, r=Nilstrieb 2022-12-19 14:41:35 +05:30
rustc_ty_utils rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
rustc_type_ir A few small cleanups for newtype_index 2022-12-18 21:47:28 +01:00