We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 42614bf + ee648ed commit f337ae6Copy full SHA for f337ae6
clippy_lints/src/bool_assert_comparison.rs
@@ -56,7 +56,7 @@ fn is_impl_not_trait_with_bool_out<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>) -
56
.and_then(|trait_id| {
57
cx.tcx.associated_items(trait_id).find_by_ident_and_kind(
58
cx.tcx,
59
- Ident::from_str("Output"),
+ Ident::with_dummy_span(sym::Output),
60
ty::AssocTag::Type,
61
trait_id,
62
)
0 commit comments