rust/compiler
Matthias Krüger 2fdb3559c4
Rollup merge of #106805 - madsravn:master, r=compiler-errors
Suggest `{var:?}` when finding `{?:var}` in inline format strings

Link to issue: https://github.com/rust-lang/rust/issues/106572

This is my first PR to this project, so hopefully I can get some good pointers with me from the first PR.

Currently my idea was to test out whether or not this is the correct solution to this issue and then hopefully expand upon the idea to not only work for Debug formatting but for all of  them. If this is a valid solution, I will create a new issue to give a better error message to a broader range of wrong-order formatting.
2023-02-03 06:30:23 +01:00
..
rustc
rustc_abi PointeeInfo is advisory only 2023-01-31 18:49:03 +01: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 Revert "Teach parser to understand fake anonymous enum syntax" and related commits 2023-02-02 05:54:35 +00:00
rustc_ast_lowering Remove HirId -> LocalDefId map from HIR. 2023-01-28 09:55:26 +00:00
rustc_ast_passes Autoderive ExternBlockSuggestion 2023-01-19 13:52:15 +01:00
rustc_ast_pretty Rename rust_2015 => is_rust_2015 2023-02-02 08:17:13 +00:00
rustc_attr Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_baked_icu_data Update crate documentation of rustc_baked_icu_data crate 2022-11-18 14:46:36 -08:00
rustc_borrowck Rollup merge of #106575 - estebank:issue-64008, r=pnkfelix 2023-02-03 06:30:22 +01:00
rustc_builtin_macros Fix syntax in -Zunpretty-expanded output for derived PartialEq. 2023-02-01 15:14:05 +11:00
rustc_codegen_cranelift Auto merge of #106227 - bryangarza:ctfe-limit, r=oli-obk 2023-01-29 04:11:27 +00:00
rustc_codegen_gcc session: diagnostic migration lint on more fns 2023-01-30 17:11:35 +00:00
rustc_codegen_llvm Rollup merge of #107412 - tshepang:needless-check, r=wesleywiser 2023-01-31 23:38:51 +01:00
rustc_codegen_ssa Auto merge of #107257 - inquisitivecrystal:ffi-attr, r=davidtwco 2023-02-01 11:37:24 +00:00
rustc_const_eval Rollup merge of #107467 - WaffleLapkin:uneq, r=oli-obk 2023-01-31 23:38:52 +01:00
rustc_data_structures Auto merge of #107297 - Mark-Simulacrum:bump-bootstrap, r=pietroalbini 2023-01-31 19:24:29 +00:00
rustc_driver session: diagnostic migration lint on more fns 2023-01-30 17:11:35 +00:00
rustc_error_codes make unaligned_reference a hard error 2023-01-31 20:28:11 +01:00
rustc_error_messages Rollup merge of #107493 - clubby789:range-fat-arrow-followup, r=estebank 2023-02-02 17:14:05 +01:00
rustc_errors Make "use latest edition" subdiagnostic translatable 2023-02-01 21:56:28 +01:00
rustc_expand Rollup merge of #107488 - nnethercote:fix-PartialEq-syntax, r=RalfJung 2023-02-02 06:52:14 +01:00
rustc_feature Auto merge of #107297 - Mark-Simulacrum:bump-bootstrap, r=pietroalbini 2023-01-31 19:24:29 +00:00
rustc_fs_util Remove useless borrows and derefs 2022-12-01 17:34:43 +00:00
rustc_graphviz Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_hir Rollup merge of #107125 - WaffleLapkin:expect_an_item_in_your_hir_by_the_next_morning, r=Nilstrieb 2023-01-30 17:50:08 +01:00
rustc_hir_analysis Rollup merge of #107486 - compiler-errors:bound-ty-keep-name, r=oli-obk 2023-01-31 23:38:52 +01:00
rustc_hir_pretty Use Mutability::{is_mut, is_not} 2023-01-30 12:26:26 +00:00
rustc_hir_typeck Rollup merge of #107515 - Swatinem:hirvalidator, r=compiler-errors 2023-02-02 17:14:06 +01:00
rustc_incremental incremental: migrate diagnostics 2023-01-30 17:11:35 +00:00
rustc_index Fix IndexVec::drain_enumerated 2023-01-19 15:25:33 +00:00
rustc_infer Rollup merge of #107201 - compiler-errors:confusing-async-fn-note, r=estebank 2023-02-02 06:52:13 +01:00
rustc_interface session: diagnostic migration lint on more fns 2023-01-30 17:11:35 +00:00
rustc_lexer Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
rustc_lint Auto merge of #107536 - GuillaumeGomez:rollup-xv7dx2h, r=GuillaumeGomez 2023-02-01 01:15:02 +00:00
rustc_lint_defs make unaligned_reference a hard error 2023-01-31 20:28:11 +01:00
rustc_llvm Rollup merge of #106113 - krasimirgg:llvm-16-ext-tyid, r=nikic 2023-01-21 23:20:58 -05:00
rustc_log Add log-backtrace option to show backtraces along with logging 2023-01-12 00:17:48 +09:00
rustc_macros Forbid #[suggestion_*(...)] on Vecs 2023-02-01 21:49:45 +01:00
rustc_metadata Rollup merge of #107467 - WaffleLapkin:uneq, r=oli-obk 2023-01-31 23:38:52 +01:00
rustc_middle Rollup merge of #106575 - estebank:issue-64008, r=pnkfelix 2023-02-03 06:30:22 +01:00
rustc_mir_build Use Mutability::{is_mut, is_not} 2023-01-30 12:26:26 +00:00
rustc_mir_dataflow Create stable metric to measure long computation in Const Eval 2023-01-23 23:56:22 +00:00
rustc_mir_transform Rollup merge of #107524 - cjgillot:both-storage, r=RalfJung 2023-02-02 17:14:06 +01:00
rustc_monomorphize Auto merge of #100754 - davidtwco:translation-incremental, r=compiler-errors 2023-01-31 10:20:58 +00:00
rustc_parse Rollup merge of #107559 - WaffleLapkin:is_it_2015¿, r=davidtwco 2023-02-02 17:14:08 +01:00
rustc_parse_format Rollup merge of #106805 - madsravn:master, r=compiler-errors 2023-02-03 06:30:23 +01:00
rustc_passes Rollup merge of #107515 - Swatinem:hirvalidator, r=compiler-errors 2023-02-02 17:14:06 +01:00
rustc_plugin_impl
rustc_privacy Remove HirId -> LocalDefId map from HIR. 2023-01-28 09:55:26 +00:00
rustc_query_impl Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_query_system Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
rustc_resolve Rename rust_2015 => is_rust_2015 2023-02-02 08:17:13 +00:00
rustc_save_analysis Review changes 2023-01-31 07:54:01 +00:00
rustc_serialize compiler: remove unnecessary imports and qualified paths 2022-12-10 18:45:34 +01:00
rustc_session Rename rust_2015 => is_rust_2015 2023-02-02 08:17:13 +00:00
rustc_smir
rustc_span Rename rust_2015 => is_rust_2015 2023-02-02 08:17:13 +00:00
rustc_symbol_mangling Introduce GeneratorWitnessMIR. 2023-01-27 18:58:44 +00:00
rustc_target Auto merge of #106925 - imWildCat:imWildCat/remove-hardcoded-ios-macbi-target-version, r=wesleywiser 2023-02-02 05:26:09 +00:00
rustc_trait_selection Improve pretty-printing of HirIdValidator errors 2023-02-01 20:09:22 +01:00
rustc_traits Track bound types like bound regions 2023-01-30 22:18:20 +00:00
rustc_transmute Also remove #![feature(control_flow_enum)] where possible 2023-01-18 10:22:21 -08:00
rustc_ty_utils Extend -Z print-type-sizes to distinguish generator upvars and locals from "normal" ADT fields. 2023-01-31 15:59:29 -05:00
rustc_type_ir Separate witness type computation from the generator transform. 2023-01-27 19:00:26 +00:00