File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -544,7 +544,7 @@ impl Span {
544
544
///
545
545
/// This might not correspond to a valid file system path.
546
546
/// It might be remapped, or might be an artificial path such as `"<macro expansion>"`.
547
- #[ unstable ( feature = "proc_macro_span " , issue = "54725 " ) ]
547
+ #[ stable ( feature = "proc_macro_span_file " , since = "CURRENT_RUSTC_VERSION " ) ]
548
548
pub fn file ( & self ) -> String {
549
549
self . 0 . file ( )
550
550
}
@@ -554,7 +554,7 @@ impl Span {
554
554
/// This is the actual path on disk. It is unaffected by path remapping.
555
555
///
556
556
/// This path should not be embedded in the output of the macro; prefer `file()` instead.
557
- #[ unstable ( feature = "proc_macro_span " , issue = "54725 " ) ]
557
+ #[ stable ( feature = "proc_macro_span_file " , since = "CURRENT_RUSTC_VERSION " ) ]
558
558
pub fn local_file ( & self ) -> Option < PathBuf > {
559
559
self . 0 . local_file ( ) . map ( |s| PathBuf :: from ( s) )
560
560
}
You can’t perform that action at this time.
0 commit comments