Closed brianclinkenbeard closed 4 years ago
Compiling xidlehook-core v0.2.0 (/home/brian/documents/projects/xidlehook/xidlehook-core) error: attributes are not yet allowed on `if` expressions --> xidlehook-core/src/lib.rs:474:21 | 474 | #[cfg(feature = "tokio")] | ^^^^^^^^^^^^^^^^^^^^^^^^^ error: attributes are not yet allowed on `if` expressions --> xidlehook-core/src/lib.rs:484:21 | 484 | #[cfg(feature = "tokio")] | ^^^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to 2 previous errors error: could not compile `xidlehook-core`.
rustc version: 1.42.0 Perhaps rust-lang/rust#69201 has something to do with this?
Try updating rust?
rustc 1.43 solved the issue. :tada:
rustc version: 1.42.0 Perhaps rust-lang/rust#69201 has something to do with this?