Skip to content

Commit aa89e91

Browse files
authored
Rollup merge of #71574 - jplatte:patch-2, r=petrochenkov
proc_macro: Fix since attributes for new Span methods Added in #69041, took a while to merge so the since attributes went out of date.
2 parents 4a9b976 + b681789 commit aa89e91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/libproc_macro/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -351,14 +351,14 @@ impl Span {
351351

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

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

0 commit comments

Comments
 (0)