about summary refs log tree commit diff
path: root/src/libproc_macro
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2020-02-10 20:42:04 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2020-04-25 14:59:09 +0300
commitdf99de522a17e7a0c4b75dfdad596862081127d5 (patch)
treef13d9f7e5067609619c55ba7252e40df11c6eee2 /src/libproc_macro
parenta58b1ed44f5e06976de2bdc4d7dc81c36a96934f (diff)
proc_macro: Stabilize `Span::resolved_at` and `Span::located_at`
Diffstat (limited to 'src/libproc_macro')
-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 3cbe852de7b..6e49d9829a2 100644
--- a/src/libproc_macro/lib.rs
+++ b/src/libproc_macro/lib.rs
@@ -352,14 +352,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`.
-    #[unstable(feature = "proc_macro_span", issue = "54725")]
+    #[stable(feature = "proc_macro_span_resolved_at", since = "1.43.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`.
-    #[unstable(feature = "proc_macro_span", issue = "54725")]
+    #[stable(feature = "proc_macro_span_located_at", since = "1.43.0")]
     pub fn located_at(&self, other: Span) -> Span {
         other.resolved_at(*self)
     }