Merge commit 'aa0d551351' into clippy-subtree-update
This commit is contained in:
parent
4891dd4627
commit
277c4e4baf
183 changed files with 2484 additions and 848 deletions
|
|
@ -148,7 +148,7 @@ struct FormatImplExpr<'a, 'tcx> {
|
|||
format_trait_impl: FormatTraitNames,
|
||||
}
|
||||
|
||||
impl<'a, 'tcx> FormatImplExpr<'a, 'tcx> {
|
||||
impl FormatImplExpr<'_, '_> {
|
||||
fn check_to_string_in_display(&self) {
|
||||
if self.format_trait_impl.name == sym::Display
|
||||
&& let ExprKind::MethodCall(path, self_arg, ..) = self.expr.kind
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue