From 6d243517b2f292eb08ae991d4053b8717fc268d0 Mon Sep 17 00:00:00 2001 From: Aymeric Fromherz Date: Thu, 25 Apr 2024 17:32:17 +0200 Subject: [PATCH] Fix typo in frontend error message --- frontend/exporter/src/traits.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/exporter/src/traits.rs b/frontend/exporter/src/traits.rs index 09ea00209..e7bcdaac9 100644 --- a/frontend/exporter/src/traits.rs +++ b/frontend/exporter/src/traits.rs @@ -492,7 +492,7 @@ pub fn select_trait_candidate<'tcx, S: UnderOwnerState<'tcx>>( Ok(selection) => selection, Err(error) => fatal!( s, - "Cannot hanlde error `{:?}` selecting `{:?}`", + "Cannot handle error `{:?}` selecting `{:?}`", error, trait_ref ),