rustc: Check self types in method lookup; allow required trait methods to have self types; write self types into metadata
This commit is contained in:
@@ -286,6 +286,7 @@ class parser {
|
||||
// methods are ignored; this could change.
|
||||
required({ident: ident, attrs: attrs,
|
||||
decl: {purity: pur with d}, tps: tps,
|
||||
self_ty: self_ty,
|
||||
span: mk_sp(lo, hi)})
|
||||
}
|
||||
token::LBRACE {
|
||||
|
||||
Reference in New Issue
Block a user