Rollup merge of #114314 - compiler-errors:sized-crit, r=lcnr
Tweaks to `adt_sized_constraint` fixes a comment, but also some other nits. r? lcnr
This commit is contained in:
commit
3d29ce7484
7 changed files with 27 additions and 25 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