From 00265f0cc0e963f83d76b3c43c9d41e839522778 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Esteban=20K=C3=BCber?= Date: Thu, 9 Nov 2023 00:58:10 +0000 Subject: [PATCH] fix tidy --- compiler/rustc_resolve/src/late/diagnostics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_resolve/src/late/diagnostics.rs b/compiler/rustc_resolve/src/late/diagnostics.rs index 28f77b311243..a0b0abd65556 100644 --- a/compiler/rustc_resolve/src/late/diagnostics.rs +++ b/compiler/rustc_resolve/src/late/diagnostics.rs @@ -1790,7 +1790,7 @@ fn suggest_alternative_construction_methods( } } // We'd ideally use `type_implements_trait` but don't have access to - // the trait solver here. We can't use `get_diagnostic_item` or + // the trait solver here. We can't use `get_diagnostic_item` or // `all_traits` in resolve either. So instead we abuse the import // suggestion machinery to get `std::default::Default` and perform some // checks to confirm that we got *only* that trait. We then see if the