Add tracking issue number to proc_macro_span_shrink.

This commit is contained in:
Mara Bos 2021-07-28 16:34:45 +02:00
parent d5aec64c12
commit f9be6cd898

View file

@ -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())
}