rust/compiler/rustc_lint/src
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
..
nonstandard_style
array_into_iter.rs
builtin.rs Rollup merge of #99911 - cjgillot:no-guess, r=davidtwco 2022-08-01 16:49:31 +02:00
context.rs sugg: take into count the debug formatting 2022-08-23 21:57:30 +00:00
early.rs Use DiagnosticMessage for BufferedEarlyLint.msg 2022-08-22 00:57:21 +09:00
enum_intrinsics_non_enums.rs
expect.rs
hidden_unicode_codepoints.rs Rename some things related to literals. 2022-08-16 13:41:34 +10:00
internal.rs
late.rs Simplify rustc_hir::intravisit::Visitor::visit_variant_data. 2022-08-11 10:54:01 +10:00
levels.rs Add visitors for PatField and ExprField. 2022-08-11 21:48:39 -07:00
lib.rs Adjust cfgs 2022-08-12 16:28:15 -04:00
methods.rs
non_ascii_idents.rs
non_fmt_panic.rs
nonstandard_style.rs Add visitors for PatField and ExprField. 2022-08-11 21:48:39 -07:00
noop_method_call.rs
pass_by_value.rs
passes.rs Simplify rustc_ast::visit::Visitor::visit_poly_trait_ref. 2022-08-11 11:10:01 +10:00
redundant_semicolon.rs
tests.rs
traits.rs
types.rs Replace #[lint/warning/error] with #[diag] 2022-08-21 09:17:43 +02:00
unused.rs Do not consider method call receiver as an argument in AST. 2022-08-10 18:34:54 +02:00