File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -544,7 +544,7 @@ impl Span {
544544 ///
545545 /// This might not correspond to a valid file system path.
546546 /// 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 " ) ]
548548 pub fn file ( & self ) -> String {
549549 self . 0 . file ( )
550550 }
@@ -554,7 +554,7 @@ impl Span {
554554 /// This is the actual path on disk. It is unaffected by path remapping.
555555 ///
556556 /// 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 " ) ]
558558 pub fn local_file ( & self ) -> Option < PathBuf > {
559559 self . 0 . local_file ( ) . map ( |s| PathBuf :: from ( s) )
560560 }
You can’t perform that action at this time.
0 commit comments