diff --git a/packages/yew-macro/Cargo.toml b/packages/yew-macro/Cargo.toml index b44db0df0b5..6a39bb8a33d 100644 --- a/packages/yew-macro/Cargo.toml +++ b/packages/yew-macro/Cargo.toml @@ -16,7 +16,7 @@ rust-version = "1.76.0" proc-macro = true [dependencies] -proc-macro-error2 = "2" +proc-macro-error2 = { version = "2", features = ["nightly"] } proc-macro2 = "1" quote = "1" syn = { version = "2", features = ["full", "extra-traits", "visit-mut"] }