We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Span::mixed_site
1 parent ec1f28f commit f5223a3Copy full SHA for f5223a3
src/libproc_macro/lib.rs
@@ -303,7 +303,7 @@ impl Span {
303
/// definition site (local variables, labels, `$crate`) and sometimes at the macro
304
/// call site (everything else).
305
/// The span location is taken from the call-site.
306
- #[unstable(feature = "proc_macro_mixed_site", issue = "65049")]
+ #[stable(feature = "proc_macro_mixed_site", since = "1.45.0")]
307
pub fn mixed_site() -> Span {
308
Span(bridge::client::Span::mixed_site())
309
}
src/test/ui/proc-macro/auxiliary/mixed-site-span.rs
@@ -2,7 +2,6 @@
2
// no-prefer-dynamic
3
4
#![feature(proc_macro_hygiene)]
5
-#![feature(proc_macro_mixed_site)]
6
#![feature(proc_macro_quote)]
7
8
#![crate_type = "proc-macro"]
0 commit comments