Skip to content

Commit df99de5

Browse files
committed
proc_macro: Stabilize Span::resolved_at and Span::located_at
1 parent a58b1ed commit df99de5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libproc_macro/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,14 +352,14 @@ impl Span {
352352

353353
/// Creates a new span with the same line/column information as `self` but
354354
/// that resolves symbols as though it were at `other`.
355-
#[unstable(feature = "proc_macro_span", issue = "54725")]
355+
#[stable(feature = "proc_macro_span_resolved_at", since = "1.43.0")]
356356
pub fn resolved_at(&self, other: Span) -> Span {
357357
Span(self.0.resolved_at(other.0))
358358
}
359359

360360
/// Creates a new span with the same name resolution behavior as `self` but
361361
/// with the line/column information of `other`.
362-
#[unstable(feature = "proc_macro_span", issue = "54725")]
362+
#[stable(feature = "proc_macro_span_located_at", since = "1.43.0")]
363363
pub fn located_at(&self, other: Span) -> Span {
364364
other.resolved_at(*self)
365365
}

0 commit comments

Comments
 (0)