Make fields of Span private
This commit is contained in:
parent
630e02f25b
commit
3da868dcb6
60 changed files with 316 additions and 349 deletions
|
|
@ -134,7 +134,7 @@ impl PathSegment {
|
|||
}
|
||||
pub fn crate_root(span: Span) -> Self {
|
||||
PathSegment {
|
||||
identifier: Ident { ctxt: span.ctxt, ..keywords::CrateRoot.ident() },
|
||||
identifier: Ident { ctxt: span.ctxt(), ..keywords::CrateRoot.ident() },
|
||||
span,
|
||||
parameters: None,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue