Fix handling of nested self in paths

This commit is contained in:
DJMcNab 2018-12-21 22:29:59 +00:00
parent 67ac0a423f
commit d8d60215da
3 changed files with 40 additions and 3 deletions

View file

@ -284,7 +284,7 @@ impl<'a> IfExpr<'a> {
}
}
#[derive(Debug, Clone, Copy)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum PathSegmentKind<'a> {
Name(NameRef<'a>),
SelfKw,