about summary refs log tree commit diff
path: root/compiler/rustc_infer/src
diff options
context:
space:
mode:
authorCamelid <camelidcamel@gmail.com>2020-12-14 20:05:31 -0800
committerCamelid <camelidcamel@gmail.com>2020-12-16 14:59:12 -0800
commit10487cd7840590c897ead9172bf9c6b22ee6f0a6 (patch)
treed37c57730ae0d371d521eb6eb7bd6ff8ce1a88ea /compiler/rustc_infer/src
parent60b4082d5feed36622340d40eb81d68010ccd1df (diff)
downloadrust-10487cd7840590c897ead9172bf9c6b22ee6f0a6.tar.gz
rust-10487cd7840590c897ead9172bf9c6b22ee6f0a6.zip
Fix typo in method name
unsuccessfull -> unsuccessful
Diffstat (limited to 'compiler/rustc_infer/src')
-rw-r--r--compiler/rustc_infer/src/infer/error_reporting/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_infer/src/infer/error_reporting/mod.rs b/compiler/rustc_infer/src/infer/error_reporting/mod.rs
index 183fb314a00..0100bd99344 100644
--- a/compiler/rustc_infer/src/infer/error_reporting/mod.rs
+++ b/compiler/rustc_infer/src/infer/error_reporting/mod.rs
@@ -1622,7 +1622,7 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
                     }
                 }
                 (TypeError::ObjectUnsafeCoercion(_), _) => {
-                    diag.note_unsuccessfull_coercion(found, expected);
+                    diag.note_unsuccessful_coercion(found, expected);
                 }
                 (_, _) => {
                     debug!(