diff --git a/library/proc_macro/src/lib.rs b/library/proc_macro/src/lib.rs index cb8b7ec70e0..7fb0d989cdb 100644 --- a/library/proc_macro/src/lib.rs +++ b/library/proc_macro/src/lib.rs @@ -494,13 +494,13 @@ pub fn byte_range(&self) -> Range { } /// Creates an empty span pointing to directly before this span. - #[unstable(feature = "proc_macro_span_shrink", issue = "87552")] + #[unstable(feature = "proc_macro_span", issue = "54725")] pub fn start(&self) -> Span { Span(self.0.start()) } /// Creates an empty span pointing to directly after this span. - #[unstable(feature = "proc_macro_span_shrink", issue = "87552")] + #[unstable(feature = "proc_macro_span", issue = "54725")] pub fn end(&self) -> Span { Span(self.0.end()) } diff --git a/tests/ui/proc-macro/auxiliary/macro-only-syntax.rs b/tests/ui/proc-macro/auxiliary/macro-only-syntax.rs index faa8cfdb5ab..4ca3a0faa27 100644 --- a/tests/ui/proc-macro/auxiliary/macro-only-syntax.rs +++ b/tests/ui/proc-macro/auxiliary/macro-only-syntax.rs @@ -10,7 +10,7 @@ // lossy string reparse hack (https://github.com/rust-lang/rust/issues/43081). #![crate_type = "proc-macro"] -#![feature(proc_macro_span, proc_macro_span_shrink)] +#![feature(proc_macro_span)] extern crate proc_macro; use proc_macro::{token_stream, Delimiter, TokenStream, TokenTree};