Expose span locations on stable
diff --git a/tests/test.rs b/tests/test.rs
index 6da1283..055ebfd 100644
--- a/tests/test.rs
+++ b/tests/test.rs
@@ -137,7 +137,7 @@
     fail("r#_");
 }
 
-#[cfg(procmacro2_semver_exempt)]
+#[cfg(span_locations)]
 #[test]
 fn span_test() {
     use proc_macro2::TokenTree;