Skip to content

Commit 6debc94

Browse files
committed
Merge proc_macro_span_shrink and proc_macro_span
1 parent 763562e commit 6debc94

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

library/proc_macro/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -494,13 +494,13 @@ impl Span {
494494
}
495495

496496
/// Creates an empty span pointing to directly before this span.
497-
#[unstable(feature = "proc_macro_span_shrink", issue = "87552")]
497+
#[unstable(feature = "proc_macro_span", issue = "54725")]
498498
pub fn start(&self) -> Span {
499499
Span(self.0.start())
500500
}
501501

502502
/// Creates an empty span pointing to directly after this span.
503-
#[unstable(feature = "proc_macro_span_shrink", issue = "87552")]
503+
#[unstable(feature = "proc_macro_span", issue = "54725")]
504504
pub fn end(&self) -> Span {
505505
Span(self.0.end())
506506
}

tests/ui/proc-macro/auxiliary/macro-only-syntax.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// lossy string reparse hack (https://github.com/rust-lang/rust/issues/43081).
1111

1212
#![crate_type = "proc-macro"]
13-
#![feature(proc_macro_span, proc_macro_span_shrink)]
13+
#![feature(proc_macro_span)]
1414

1515
extern crate proc_macro;
1616
use proc_macro::{token_stream, Delimiter, TokenStream, TokenTree};

0 commit comments

Comments
 (0)