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:
parent
567f881fdf
commit
2cfe8fb357
11 changed files with 181 additions and 22 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue