Skip to content

Commit 8b7fe0e

Browse files
committed
does this work?
1 parent be530a5 commit 8b7fe0e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/yew-macro/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ rust-version = "1.76.0"
1616
proc-macro = true
1717

1818
[dependencies]
19-
proc-macro-error2 = { version = "2", features = ["nightly"] }
19+
proc-macro-error2 = "2"
2020
proc-macro2 = "1"
2121
quote = "1"
2222
syn = { version = "2", features = ["full", "extra-traits", "visit-mut"] }
@@ -29,5 +29,9 @@ rustversion = "1"
2929
trybuild = "1"
3030
yew = { path = "../yew" }
3131

32+
[features]
33+
default = []
34+
nightly_yew = ["proc-macro-error2/nightly"]
35+
3236
[lints.rust]
3337
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(nightly_yew)'] }

0 commit comments

Comments
 (0)