Skip to content

Commit 7ec48ab

Browse files
authored
Rollup merge of rust-lang#89735 - bjorn3:stabilize_proc_macro_is_available, r=petrochenkov
Stabilize proc_macro::is_available Tracking issue: rust-lang#71436 The FCP for the stabilization of `proc_macro::is_available` has completed.
2 parents 8e90493 + f7b9330 commit 7ec48ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proc_macro/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ use std::{error, fmt, iter, mem};
6161
/// non-panicking way to detect whether the infrastructure required to use the
6262
/// API of proc_macro is presently available. Returns true if invoked from
6363
/// inside of a procedural macro, false if invoked from any other binary.
64-
#[unstable(feature = "proc_macro_is_available", issue = "71436")]
64+
#[stable(feature = "proc_macro_is_available", since = "1.57.0")]
6565
pub fn is_available() -> bool {
6666
bridge::Bridge::is_available()
6767
}

0 commit comments

Comments
 (0)