Add tracking issue number to proc_macro_span_shrink.
This commit is contained in:
parent
d5aec64c12
commit
f9be6cd898
1 changed files with 2 additions and 2 deletions
|
@ -359,13 +359,13 @@ impl Span {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Creates an empty span pointing to directly before this span.
|
/// 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 {
|
pub fn before(&self) -> Span {
|
||||||
Span(self.0.before())
|
Span(self.0.before())
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Creates an empty span pointing to directly after this span.
|
/// 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 {
|
pub fn after(&self) -> Span {
|
||||||
Span(self.0.after())
|
Span(self.0.after())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue