File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -513,29 +513,29 @@ impl Span {
513
513
}
514
514
515
515
/// Creates an empty span pointing to directly before this span.
516
- #[ unstable ( feature = "proc_macro_span " , issue = "54725 " ) ]
516
+ #[ stable ( feature = "proc_macro_span_location " , since = "CURRENT_RUSTC_VERSION " ) ]
517
517
pub fn start ( & self ) -> Span {
518
518
Span ( self . 0 . start ( ) )
519
519
}
520
520
521
521
/// Creates an empty span pointing to directly after this span.
522
- #[ unstable ( feature = "proc_macro_span " , issue = "54725 " ) ]
522
+ #[ stable ( feature = "proc_macro_span_location " , since = "CURRENT_RUSTC_VERSION " ) ]
523
523
pub fn end ( & self ) -> Span {
524
524
Span ( self . 0 . end ( ) )
525
525
}
526
526
527
527
/// The one-indexed line of the source file where the span starts.
528
528
///
529
529
/// To obtain the line of the span's end, use `span.end().line()`.
530
- #[ unstable ( feature = "proc_macro_span " , issue = "54725 " ) ]
530
+ #[ stable ( feature = "proc_macro_span_location " , since = "CURRENT_RUSTC_VERSION " ) ]
531
531
pub fn line ( & self ) -> usize {
532
532
self . 0 . line ( )
533
533
}
534
534
535
535
/// The one-indexed column of the source file where the span starts.
536
536
///
537
537
/// To obtain the column of the span's end, use `span.end().column()`.
538
- #[ unstable ( feature = "proc_macro_span " , issue = "54725 " ) ]
538
+ #[ stable ( feature = "proc_macro_span_location " , since = "CURRENT_RUSTC_VERSION " ) ]
539
539
pub fn column ( & self ) -> usize {
540
540
self . 0 . column ( )
541
541
}
You can’t perform that action at this time.
0 commit comments