We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a444a38 commit 58861e6Copy full SHA for 58861e6
tests/test.rs
@@ -758,8 +758,7 @@ fn byte_order_mark() {
758
string.parse::<TokenStream>().unwrap_err();
759
}
760
761
-// Creates a new Span from a TokenStream
762
-#[cfg(all(test, span_locations))]
+#[cfg(span_locations)]
763
fn create_span() -> proc_macro2::Span {
764
let tts: TokenStream = "1".parse().unwrap();
765
match tts.into_iter().next().unwrap() {
0 commit comments