Skip to content

Commit

Permalink
Enable proc-macro-error2/nightly when cfg(nightly_yew)
Browse files Browse the repository at this point in the history
  • Loading branch information
ranile committed Dec 13, 2024
1 parent 8b7fe0e commit 37452a5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/yew-macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ rustversion = "1"
trybuild = "1"
yew = { path = "../yew" }

[features]
default = []
nightly_yew = ["proc-macro-error2/nightly"]
[target.'cfg(nightly_yew)'.dependencies]
proc-macro-error2 = { version = "2", features = ["nightly"] }

[lints.rust]
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(nightly_yew)'] }

0 comments on commit 37452a5

Please sign in to comment.