Skip to content

Commit d715644

Browse files
committed
Fix a typo
1 parent bd86dcb commit d715644

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_hir_analysis/messages.ftl

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ hir_analysis_trait_object_declared_with_no_traits =
6969
at least one trait is required for an object type
7070
.alias_span = this alias does not contain a trait
7171
72-
hir_analysis_opaque_type_constrained_bug_not_in_sig = opaque type constrained without being represented in the signature
72+
hir_analysis_opaque_type_constrained_but_not_in_sig = opaque type constrained without being represented in the signature
7373
.item_label = this item must mention the opaque type in its signature or where bounds
7474
7575
hir_analysis_missing_type_params =

compiler/rustc_hir_analysis/src/errors.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ pub struct UnconstrainedOpaqueType {
177177
}
178178

179179
#[derive(Diagnostic)]
180-
#[diag(hir_analysis_opaque_type_constrained_bug_not_in_sig)]
180+
#[diag(hir_analysis_opaque_type_constrained_but_not_in_sig)]
181181
pub struct OpaqueTypeConstrainedButNotInSig {
182182
#[primary_span]
183183
pub span: Span,

0 commit comments

Comments
 (0)