rust/compiler
Matthias Krüger f8e128f8ad
Rollup merge of #100826 - vincenzopalazzo:macros/wrong_sugg_with_positional_arg, r=TaKO8Ki
sugg: take into count the debug formatting

Closes https://github.com/rust-lang/rust/issues/100648

This PR will fix a suggestion error by taking into consideration also the `:?` symbol and act in a different way

``@rustbot`` r? ``@compiler-errors``

N.B: I did not find a full way to test the change, any idea?
2022-08-24 18:20:09 +02:00
..
rustc
rustc_apfloat
rustc_arena Rollup merge of #100822 - WaffleLapkin:no_offset_question_mark, r=scottmcm 2022-08-21 16:54:07 +02:00
rustc_ast Rollup merge of #100909 - nnethercote:minor-ast-LitKind-improvement, r=petrochenkov 2022-08-23 20:40:09 +05:30
rustc_ast_lowering Remove the symbol from ast::LitKind::Err. 2022-08-23 16:56:24 +10:00
rustc_ast_passes Replace #[error(..)] etc. to #[diag(..)] 2022-08-22 01:24:47 +09:00
rustc_ast_pretty
rustc_attr
rustc_borrowck get rid of RefCell in TransitiveRelation 2022-08-22 18:08:46 +08:00
rustc_builtin_macros Rollup merge of #100909 - nnethercote:minor-ast-LitKind-improvement, r=petrochenkov 2022-08-23 20:40:09 +05:30
rustc_codegen_cranelift Rollup merge of #100822 - WaffleLapkin:no_offset_question_mark, r=scottmcm 2022-08-21 16:54:07 +02:00
rustc_codegen_gcc Replace most uses of pointer::offset with add and sub 2022-08-21 02:21:41 +04:00
rustc_codegen_llvm
rustc_codegen_ssa Rollup merge of #99993 - petrochenkov:linkdated, r=bjorn3 2022-08-24 18:20:07 +02:00
rustc_const_eval fix ICE with extra-const-ub-checks 2022-08-21 20:00:38 -04:00
rustc_data_structures get rid of RefCell in TransitiveRelation 2022-08-22 18:08:46 +08:00
rustc_driver Use AttrVec in more places. 2022-08-22 07:35:33 +10:00
rustc_error_codes
rustc_error_messages Auto merge of #100675 - Xiretza:fluent-mandate-crate-prefix, r=davidtwco 2022-08-23 22:30:07 +00:00
rustc_errors Add Handler::struct_diagnostic() 2022-08-21 09:17:43 +02:00
rustc_expand Remove the symbol from ast::LitKind::Err. 2022-08-23 16:56:24 +10:00
rustc_feature
rustc_fs_util
rustc_graphviz
rustc_hir
rustc_hir_pretty
rustc_incremental
rustc_index
rustc_infer Rollup merge of #100368 - chenyukang:fix-100321, r=lcnr 2022-08-23 20:40:03 +05:30
rustc_interface Replace #[lint/warning/error] with #[diag] 2022-08-21 09:17:43 +02:00
rustc_lexer
rustc_lint Rollup merge of #100826 - vincenzopalazzo:macros/wrong_sugg_with_positional_arg, r=TaKO8Ki 2022-08-24 18:20:09 +02:00
rustc_lint_defs Tidy 2022-08-22 00:57:21 +09:00
rustc_llvm Auto merge of #100627 - krasimirgg:lto-llvm-16, r=cuviper 2022-08-21 07:19:49 +00:00
rustc_log
rustc_macros Auto merge of #100675 - Xiretza:fluent-mandate-crate-prefix, r=davidtwco 2022-08-23 22:30:07 +00:00
rustc_metadata
rustc_middle Auto merge of #99963 - cjgillot:iter-submodule, r=compiler-errors 2022-08-22 23:09:35 +00:00
rustc_mir_build Remove the symbol from ast::LitKind::Err. 2022-08-23 16:56:24 +10:00
rustc_mir_dataflow use type alias impl trait in outlives_bounds::InferCtxtExt 2022-08-22 18:10:28 +08:00
rustc_mir_transform Fix typo in UnreachableProp 2022-08-23 08:18:18 +02:00
rustc_monomorphize Minor syntax and formatting update to doc comment 2022-08-19 10:53:18 -07:00
rustc_parse Rollup merge of #100909 - nnethercote:minor-ast-LitKind-improvement, r=petrochenkov 2022-08-23 20:40:09 +05:30
rustc_parse_format Fix rustc_parse_format precision & width spans 2022-08-21 20:21:45 +00:00
rustc_passes Replace #[lint/warning/error] with #[diag] 2022-08-21 09:17:43 +02:00
rustc_plugin_impl Migrate rustc_plugin_impl to SessionDiagnostic 2022-08-22 16:35:05 +01:00
rustc_privacy Replace #[lint/warning/error] with #[diag] 2022-08-21 09:17:43 +02:00
rustc_query_impl Rollup merge of #100723 - 5225225:the-easy-ones, r=compiler-errors 2022-08-20 07:09:03 +02:00
rustc_query_system
rustc_resolve Mark suggestion as MaybeIncorrect. 2022-08-23 00:09:58 +02:00
rustc_save_analysis
rustc_serialize Rollup merge of #100822 - WaffleLapkin:no_offset_question_mark, r=scottmcm 2022-08-21 16:54:07 +02:00
rustc_session Fix incorrect return type of emit_fatal 2022-08-22 01:11:59 +09:00
rustc_smir
rustc_span Remove generate_fn_name_span and generate_local_type_param_snippet. 2022-08-23 00:08:42 +02:00
rustc_symbol_mangling
rustc_target Rollup merge of #100641 - corwinkuiper:add-armv4t-target, r=oli-obk 2022-08-23 06:55:25 +02:00
rustc_trait_selection Rollup merge of #100368 - chenyukang:fix-100321, r=lcnr 2022-08-23 20:40:03 +05:30
rustc_traits
rustc_transmute ADD - diagnostic lints to rustc_transmute 2022-08-21 09:17:09 -04:00
rustc_ty_utils
rustc_type_ir
rustc_typeck Rollup merge of #100909 - nnethercote:minor-ast-LitKind-improvement, r=petrochenkov 2022-08-23 20:40:09 +05:30