mirror of
https://github.com/rust-lang/rust
synced 2024-10-20 23:44:13 +00:00
Add tracking issue number to proc_macro_span_shrink.
This commit is contained in:
parent
d5aec64c12
commit
f9be6cd898
|
@ -359,13 +359,13 @@ pub fn end(&self) -> LineColumn {
|
|||
}
|
||||
|
||||
/// Creates an empty span pointing to directly before this span.
|
||||
#[unstable(feature = "proc_macro_span_shrink", issue = "none")]
|
||||
#[unstable(feature = "proc_macro_span_shrink", issue = "87552")]
|
||||
pub fn before(&self) -> Span {
|
||||
Span(self.0.before())
|
||||
}
|
||||
|
||||
/// Creates an empty span pointing to directly after this span.
|
||||
#[unstable(feature = "proc_macro_span_shrink", issue = "none")]
|
||||
#[unstable(feature = "proc_macro_span_shrink", issue = "87552")]
|
||||
pub fn after(&self) -> Span {
|
||||
Span(self.0.after())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue