Accept self in place of mod in use items
[breaking-change] `mod` is still accepted, but gives a deprecated warning
This commit is contained in:
@@ -2540,7 +2540,7 @@ impl<'a> State<'a> {
|
||||
s.print_ident(name)
|
||||
},
|
||||
ast::PathListMod { .. } => {
|
||||
word(&mut s.s, "mod")
|
||||
word(&mut s.s, "self")
|
||||
}
|
||||
}
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user