forked from yewstack/yew
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Rust version for macro tests to 1.51 & enable const generics t…
…ests (yewstack#1801) * update rust version for macro test to 1.51 * enable const generic tests * run integration tests using MSRV * am blind * clippy, fmt * apply suggestion
- Loading branch information
Showing
20 changed files
with
127 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tasks.test] | ||
clear = true | ||
toolchain = "1.45.2" | ||
toolchain = "1.51" | ||
command = "cargo" | ||
args = ["test"] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tasks.test] | ||
clear = true | ||
toolchain = "1.45.2" | ||
toolchain = "1.51" | ||
command = "cargo" | ||
args = ["test"] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 10 additions & 6 deletions
16
packages/yew-macro/tests/props_macro/resolve-prop-fail.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,21 @@ | ||
error[E0277]: the trait bound `std::vec::Vec<_>: yew::html::component::properties::Properties` is not satisfied | ||
error[E0277]: the trait bound `std::vec::Vec<_>: yew::Properties` is not satisfied | ||
--> $DIR/resolve-prop-fail.rs:38:17 | ||
| | ||
38 | yew::props!(Vec<_> {}); | ||
| ^^^ the trait `yew::html::component::properties::Properties` is not implemented for `std::vec::Vec<_>` | ||
| ^^^ the trait `yew::Properties` is not implemented for `std::vec::Vec<_>` | ||
| | ||
= note: required by `builder` | ||
|
||
error[E0277]: the trait bound `MyComp: yew::html::component::properties::Properties` is not satisfied | ||
error[E0277]: the trait bound `MyComp: yew::Properties` is not satisfied | ||
--> $DIR/resolve-prop-fail.rs:39:17 | ||
| | ||
39 | yew::props!(MyComp {}); | ||
| ^^^^^^ the trait `yew::html::component::properties::Properties` is not implemented for `MyComp` | ||
| ^^^^^^ the trait `yew::Properties` is not implemented for `MyComp` | ||
| | ||
= note: required by `builder` | ||
|
||
error[E0277]: the trait bound `MyNotAComponent: yew::html::component::Component` is not satisfied | ||
error[E0277]: the trait bound `MyNotAComponent: yew::Component` is not satisfied | ||
--> $DIR/resolve-prop-fail.rs:40:17 | ||
| | ||
40 | yew::props!(MyNotAComponent::Properties {}); | ||
| ^^^^^^^^^^^^^^^ the trait `yew::html::component::Component` is not implemented for `MyNotAComponent` | ||
| ^^^^^^^^^^^^^^^ the trait `yew::Component` is not implemented for `MyNotAComponent` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.