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.
1 parent 834db8b commit af29599Copy full SHA for af29599
compiler/rustc_ast_passes/src/ast_validation.rs
@@ -1464,12 +1464,12 @@ fn deny_equality_constraints(
1464
if let Some(bound) = bound_opt {
1465
err.assoc_constraint_suggestion.push(
1466
EqualityConstraintToAssocConstraintSuggestion {
1467
- assoc_ty: assoc_ty_ident.name.to_string(),
+ assoc_ty: assoc_ty_ident.to_string(),
1468
suggestion: vec![(
1469
predicate.span,
1470
format!(
1471
"{}: {}",
1472
- qself_ty_ident.name,
+ qself_ty_ident,
1473
pprust::path_to_string(&bound)
1474
),
1475
)],
0 commit comments