Refactor how global paths are represented (for both ast and hir).
This commit is contained in:
parent
164619a8cf
commit
f10f50b426
27 changed files with 242 additions and 257 deletions
|
@ -579,7 +579,6 @@ fn nospan<T>(t: T) -> codemap::Spanned<T> {
|
|||
fn path_node(ids: Vec<Ident>) -> ast::Path {
|
||||
ast::Path {
|
||||
span: DUMMY_SP,
|
||||
global: false,
|
||||
segments: ids.into_iter().map(Into::into).collect(),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue