Skip to content

Commit 58861e6

Browse files
committed
No need for cfg(test) within integration test
1 parent a444a38 commit 58861e6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,8 +758,7 @@ fn byte_order_mark() {
758758
string.parse::<TokenStream>().unwrap_err();
759759
}
760760

761-
// Creates a new Span from a TokenStream
762-
#[cfg(all(test, span_locations))]
761+
#[cfg(span_locations)]
763762
fn create_span() -> proc_macro2::Span {
764763
let tts: TokenStream = "1".parse().unwrap();
765764
match tts.into_iter().next().unwrap() {

0 commit comments

Comments
 (0)