Skip to content

Commit f5223a3

Browse files
committed
Stabilize Span::mixed_site
1 parent ec1f28f commit f5223a3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/libproc_macro/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ impl Span {
303303
/// definition site (local variables, labels, `$crate`) and sometimes at the macro
304304
/// call site (everything else).
305305
/// The span location is taken from the call-site.
306-
#[unstable(feature = "proc_macro_mixed_site", issue = "65049")]
306+
#[stable(feature = "proc_macro_mixed_site", since = "1.45.0")]
307307
pub fn mixed_site() -> Span {
308308
Span(bridge::client::Span::mixed_site())
309309
}

src/test/ui/proc-macro/auxiliary/mixed-site-span.rs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// no-prefer-dynamic
33

44
#![feature(proc_macro_hygiene)]
5-
#![feature(proc_macro_mixed_site)]
65
#![feature(proc_macro_quote)]
76

87
#![crate_type = "proc-macro"]

0 commit comments

Comments
 (0)