Fix a comment
This commit is contained in:
parent
44be25d8a2
commit
ac6f2f0d2e
4 changed files with 6 additions and 13 deletions
|
@ -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()],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue