Add support for equality constraints on associated types
This commit is contained in:
parent
da83ad8e2c
commit
397dda8aa0
29 changed files with 791 additions and 164 deletions
|
@ -444,7 +444,7 @@ impl<'a> TraitDef<'a> {
|
|||
// Create the type of `self`.
|
||||
let self_type = cx.ty_path(
|
||||
cx.path_all(self.span, false, vec!( type_ident ), self_lifetimes,
|
||||
self_ty_params.into_vec()));
|
||||
self_ty_params.into_vec(), Vec::new()));
|
||||
|
||||
let attr = cx.attribute(
|
||||
self.span,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue