diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index e56da1396d1..7beffda0c0d 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -147,7 +147,7 @@ jobs: strategy: matrix: toolchain: - - 1.49.0 # MSRV + - 1.56.0 # MSRV - stable steps: @@ -188,7 +188,7 @@ jobs: strategy: matrix: toolchain: - - 1.51.0 # min version with const generics + - 1.56.0 # MSRV - stable - nightly diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f3a0cf34877..aaca04c3b66 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -60,7 +60,7 @@ Alternatively, you can set the `ECHO_SERVER_URL` environment variable to the URL When adding or updating tests, please make sure to update the appropriate `stderr` file, which you can find [here](https://github.com/yewstack/yew/tree/master/packages/yew-macro/tests/macro) for the `html!` macro. These files ensure that macro compilation errors are correct and easy to understand. -These errors can change with each release of the compiler so they should be generated with the Rust version 1.51 +These errors can change with each release of the compiler, so they should be generated with the Rust version 1.56 (because some tests make use of const generics which were stabilized in that version). To update or generate a new `stderr` file you can run `cargo make test-overwrite` in the `yew-macro` directory. diff --git a/README.md b/README.md index 2be84c7b7d7..bf46ee91214 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ - +
(_props: &P) -> Html
| -
-help: use angle brackets to add missing type argument
+help: add missing generic argument
|
30 | html! {