1
Fork 0

Fix a comment

This commit is contained in:
Michael Goulet 2023-08-01 00:59:59 +00:00
parent 44be25d8a2
commit ac6f2f0d2e
4 changed files with 6 additions and 13 deletions

View file

@ -1462,7 +1462,7 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
let traits: Vec<_> =
self.probe_traits_that_match_assoc_ty(qself_ty, assoc_ident);
// Don't print `TyErr` to the user.
// Don't print `ty::Error` to the user.
self.report_ambiguous_associated_type(
span,
&[qself_ty.to_string()],