Stabilize Span::mixed_site

This commit is contained in:
Vadim Petrochenkov 2020-02-01 00:18:14 +03:00
parent ec1f28f961
commit f5223a3435
2 changed files with 1 additions and 2 deletions

View File

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

View File

@ -2,7 +2,6 @@
// no-prefer-dynamic
#![feature(proc_macro_hygiene)]
#![feature(proc_macro_mixed_site)]
#![feature(proc_macro_quote)]
#![crate_type = "proc-macro"]