Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable const generics component tests for yew-functional-macro #1766

Closed
lukechu10 opened this issue Feb 24, 2021 · 1 comment · Fixed by #1801
Closed

Enable const generics component tests for yew-functional-macro #1766

lukechu10 opened this issue Feb 24, 2021 · 1 comment · Fixed by #1801
Labels

Comments

@lukechu10
Copy link
Contributor

lukechu10 commented Feb 24, 2021

// TODO: uncomment when min_const_generics are in stable and Rust version in CI is bumped
// #[::yew_functional::function_component(ConstGenerics)]
// fn const_generics<const N: i32>() -> ::yew::Html {
// ::yew::html! {
// <div>
// { N }
// </div>
// }
// }

Originally posted by @siku2 in #1756 (comment)

@siku2 siku2 added the blocked label Feb 24, 2021
@siku2
Copy link
Member

siku2 commented Feb 24, 2021

Just as a note: Once it lands, we can easily bump the Rust version used for tests to 1.51 without having to change the MSRV.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants