diff --git a/src/lib.rs b/src/lib.rs index 08d03d0e78..933561a7ef 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -39,8 +39,8 @@ extern crate static_assertions; extern crate probe; // Use the `{likely, unlikely}` provided by compiler when using nightly -#[rustversion::nightly] -#![feature(core_intrinsics)] +#![rustversion::nightly] +#[feature(core_intrinsics)] mod mmtk; pub use mmtk::MMTKBuilder;