Rename procmacro2_unstable to procmacro2_semver_exempt
diff --git a/tests/test.rs b/tests/test.rs
index 8320876..89f7b10 100644
--- a/tests/test.rs
+++ b/tests/test.rs
@@ -2,10 +2,10 @@
use proc_macro2::{Term, Literal, TokenStream};
-#[cfg(procmacro2_unstable)]
+#[cfg(procmacro2_semver_exempt)]
use proc_macro2::TokenNode;
-#[cfg(procmacro2_unstable)]
+#[cfg(procmacro2_semver_exempt)]
#[cfg(not(feature = "nightly"))]
use proc_macro2::Span;
@@ -72,7 +72,7 @@
fail("'mut");
}
-#[cfg(procmacro2_unstable)]
+#[cfg(procmacro2_semver_exempt)]
#[test]
fn span_test() {
fn check_spans(p: &str, mut lines: &[(usize, usize, usize, usize)]) {
@@ -120,7 +120,7 @@
]);
}
-#[cfg(procmacro2_unstable)]
+#[cfg(procmacro2_semver_exempt)]
#[cfg(not(feature = "nightly"))]
#[test]
fn default_span() {
@@ -135,7 +135,7 @@
assert!(!source_file.is_real());
}
-#[cfg(procmacro2_unstable)]
+#[cfg(procmacro2_semver_exempt)]
#[test]
fn span_join() {
let source1 =