Add extern_crate_self to ra_parser.

This commit is contained in:
memoryruins 2019-03-28 12:15:18 -04:00
parent de56dba452
commit f0fcd02013

View file

@ -184,6 +184,10 @@ fn name_ref(p: &mut Parser) {
let m = p.start();
p.bump();
m.complete(p, NAME_REF);
} else if p.at(SELF_KW) {
let m = p.start();
p.bump();
m.complete(p, SELF_KW);
} else {
p.err_and_bump("expected identifier");
}