diff options
| author | Camelid <camelidcamel@gmail.com> | 2020-12-14 20:05:31 -0800 |
|---|---|---|
| committer | Camelid <camelidcamel@gmail.com> | 2020-12-16 14:59:12 -0800 |
| commit | 10487cd7840590c897ead9172bf9c6b22ee6f0a6 (patch) | |
| tree | d37c57730ae0d371d521eb6eb7bd6ff8ce1a88ea /compiler/rustc_errors/src | |
| parent | 60b4082d5feed36622340d40eb81d68010ccd1df (diff) | |
| download | rust-10487cd7840590c897ead9172bf9c6b22ee6f0a6.tar.gz rust-10487cd7840590c897ead9172bf9c6b22ee6f0a6.zip | |
Fix typo in method name
unsuccessfull -> unsuccessful
Diffstat (limited to 'compiler/rustc_errors/src')
| -rw-r--r-- | compiler/rustc_errors/src/diagnostic.rs | 2 | ||||
| -rw-r--r-- | compiler/rustc_errors/src/diagnostic_builder.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_errors/src/diagnostic.rs b/compiler/rustc_errors/src/diagnostic.rs index c3422c78ef6..538e1a59ab8 100644 --- a/compiler/rustc_errors/src/diagnostic.rs +++ b/compiler/rustc_errors/src/diagnostic.rs @@ -166,7 +166,7 @@ impl Diagnostic { self.note_expected_found_extra(expected_label, expected, found_label, found, &"", &"") } - pub fn note_unsuccessfull_coercion( + pub fn note_unsuccessful_coercion( &mut self, expected: DiagnosticStyledString, found: DiagnosticStyledString, diff --git a/compiler/rustc_errors/src/diagnostic_builder.rs b/compiler/rustc_errors/src/diagnostic_builder.rs index de6d7c3f5d8..f165a60336a 100644 --- a/compiler/rustc_errors/src/diagnostic_builder.rs +++ b/compiler/rustc_errors/src/diagnostic_builder.rs @@ -245,7 +245,7 @@ impl<'a> DiagnosticBuilder<'a> { found_extra: &dyn fmt::Display, ) -> &mut Self); - forward!(pub fn note_unsuccessfull_coercion( + forward!(pub fn note_unsuccessful_coercion( &mut self, expected: DiagnosticStyledString, found: DiagnosticStyledString, |
