about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonas Platte <jplatte@users.noreply.github.com>2020-04-26 12:08:42 +0200
committerGitHub <noreply@github.com>2020-04-26 12:08:42 +0200
commitb6817890d3a82f87a95d4f5f55170ff04968ebd3 (patch)
tree2c9af667ed41993cfa8b290799fe193413c417fe
parent019ab732ce63a117cbb446db1488916c5c0bd2a7 (diff)
downloadrust-b6817890d3a82f87a95d4f5f55170ff04968ebd3.tar.gz
rust-b6817890d3a82f87a95d4f5f55170ff04968ebd3.zip
proc_macro: Fix since attributes for new Span methods
-rw-r--r--src/libproc_macro/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libproc_macro/lib.rs b/src/libproc_macro/lib.rs
index 5995f64dc78..86e39094935 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)
     }