We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf286a8 commit d89fb1dCopy full SHA for d89fb1d
library/proc_macro/src/lib.rs
@@ -546,7 +546,7 @@ impl Span {
546
/// Note: The observable result of a macro should only rely on the tokens and
547
/// not on this source text. The result of this function is a best effort to
548
/// be used for diagnostics only.
549
- #[unstable(feature = "proc_macro_span", issue = "54725")]
+ #[stable(feature = "proc_macro_source_text", since = "CURRENT_RUSTC_VERSION")]
550
pub fn source_text(&self) -> Option<String> {
551
self.0.source_text()
552
}
0 commit comments