Remove constraints argument from path_all

It was never used
This commit is contained in:
Mark Rousskov
2019-09-21 15:01:10 -04:00
parent 5349e69ae2
commit 67d88f607e
6 changed files with 13 additions and 14 deletions

View File

@@ -664,7 +664,7 @@ impl<'a> TraitDef<'a> {
}).collect();
// Create the type of `self`.
let path = cx.path_all(self.span, false, vec![type_ident], self_params, vec![]);
let path = cx.path_all(self.span, false, vec![type_ident], self_params);
let self_type = cx.ty_path(path);
let attr = cx.attribute(cx.meta_word(self.span, sym::automatically_derived));