Skip to content

Commit 1dbb2a7

Browse files
committed
gate it behind proc-marco feature
1 parent 79ef9ff commit 1dbb2a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fallback.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ impl Span {
664664
}
665665
}
666666

667-
#[cfg(not(wrap_proc_macro))]
667+
#[cfg(all(not(wrap_proc_macro), feature = "proc-macro"))]
668668
impl From<proc_macro::Span> for crate::Span {
669669
fn from(_: proc_macro::Span) -> Self {
670670
crate::Span::_new(Span::call_site())

0 commit comments

Comments
 (0)