From b6817890d3a82f87a95d4f5f55170ff04968ebd3 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Sun, 26 Apr 2020 12:08:42 +0200 Subject: [PATCH] proc_macro: Fix since attributes for new Span methods --- src/libproc_macro/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libproc_macro/lib.rs b/src/libproc_macro/lib.rs index 5995f64dc7806..86e39094935db 100644 --- a/src/libproc_macro/lib.rs +++ b/src/libproc_macro/lib.rs @@ -351,14 +351,14 @@ impl Span { /// Creates a new span with the same line/column information as `self` but /// that resolves symbols as though it were at `other`. - #[stable(feature = "proc_macro_span_resolved_at", since = "1.43.0")] + #[stable(feature = "proc_macro_span_resolved_at", since = "1.45.0")] pub fn resolved_at(&self, other: Span) -> Span { Span(self.0.resolved_at(other.0)) } /// Creates a new span with the same name resolution behavior as `self` but /// with the line/column information of `other`. - #[stable(feature = "proc_macro_span_located_at", since = "1.43.0")] + #[stable(feature = "proc_macro_span_located_at", since = "1.45.0")] pub fn located_at(&self, other: Span) -> Span { other.resolved_at(*self) }