1
Fork 0

better error for binder on associated type bound

This commit is contained in:
Michael Goulet 2022-04-06 23:08:22 -07:00
parent 1f7fb6413d
commit b65265b5e1
4 changed files with 56 additions and 13 deletions

View file

@ -2483,7 +2483,7 @@ pub struct TraitRef {
#[derive(Clone, Encodable, Decodable, Debug)]
pub struct PolyTraitRef {
/// The `'a` in `<'a> Foo<&'a T>`.
/// The `'a` in `for<'a> Foo<&'a T>`.
pub bound_generic_params: Vec<GenericParam>,
/// The `Foo<&'a T>` in `<'a> Foo<&'a T>`.