Skip to content

Commit

Permalink
Fix: use cfg_attr rather than cfg to conditionally include the nightl…
Browse files Browse the repository at this point in the history
…y proc_macro feature
  • Loading branch information
petekubiak authored and lulf committed Oct 27, 2024
1 parent 54ab2b3 commit 6ca4d4f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions macros/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#![allow(incomplete_features)]
#![cfg(feature = "nightly")]
#![feature(proc_macro_diagnostic)]
#![cfg_attr(feature = "nightly", feature(proc_macro_diagnostic))]

extern crate proc_macro;
mod actor;
Expand Down

0 comments on commit 6ca4d4f

Please sign in to comment.