better error for binder on associated type bound
This commit is contained in:
parent
1f7fb6413d
commit
b65265b5e1
4 changed files with 56 additions and 13 deletions
|
@ -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>`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue