Make fields of Span
private
This commit is contained in:
parent
630e02f25b
commit
3da868dcb6
60 changed files with 316 additions and 349 deletions
|
@ -31,7 +31,7 @@ fn ignored_span(sp: Span) -> Span {
|
|||
allow_internal_unsafe: false,
|
||||
}
|
||||
});
|
||||
Span { ctxt: SyntaxContext::empty().apply_mark(mark), ..sp }
|
||||
sp.with_ctxt(SyntaxContext::empty().apply_mark(mark))
|
||||
}
|
||||
|
||||
pub fn injected_crate_name(krate: &ast::Crate) -> Option<&'static str> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue