Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump minimal supported rust version (MSRV) to 1.56 (#2334)
* Bump MSRV to 1.54 * add rust version to Cargo.toml * update macro test stderr * 1.56 go brrrr * 1.56 go brrrr: part 2 electric boogaloo
- Loading branch information
Showing
26 changed files
with
319 additions
and
238 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
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
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,46 +1,46 @@ | ||
error[E0277]: `()` doesn't implement `std::fmt::Display` | ||
--> $DIR/block-fail.rs:6:15 | ||
| | ||
6 | { () } | ||
| ^^ `()` cannot be formatted with the default formatter | ||
| | ||
= help: the trait `std::fmt::Display` is not implemented for `()` | ||
= note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead | ||
= note: required because of the requirements on the impl of `ToString` for `()` | ||
= note: required because of the requirements on the impl of `From<()>` for `VNode` | ||
= note: required because of the requirements on the impl of `Into<VNode>` for `()` | ||
= note: 2 redundant requirements hidden | ||
= note: required because of the requirements on the impl of `Into<NodeSeq<(), VNode>>` for `()` | ||
= note: required by `into` | ||
--> tests/html_macro/block-fail.rs:6:15 | ||
| | ||
6 | { () } | ||
| ^^ `()` cannot be formatted with the default formatter | ||
| | ||
= help: the trait `std::fmt::Display` is not implemented for `()` | ||
= note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead | ||
= note: required because of the requirements on the impl of `ToString` for `()` | ||
= note: required because of the requirements on the impl of `From<()>` for `VNode` | ||
= note: required because of the requirements on the impl of `Into<VNode>` for `()` | ||
= note: 2 redundant requirements hidden | ||
= note: required because of the requirements on the impl of `Into<NodeSeq<(), VNode>>` for `()` | ||
note: required by `into` | ||
|
||
error[E0277]: `()` doesn't implement `std::fmt::Display` | ||
--> $DIR/block-fail.rs:12:16 | ||
| | ||
12 | <div>{ not_tree() }</div> | ||
| ^^^^^^^^ `()` cannot be formatted with the default formatter | ||
| | ||
= help: the trait `std::fmt::Display` is not implemented for `()` | ||
= note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead | ||
= note: required because of the requirements on the impl of `ToString` for `()` | ||
= note: required because of the requirements on the impl of `From<()>` for `VNode` | ||
= note: required because of the requirements on the impl of `Into<VNode>` for `()` | ||
= note: 2 redundant requirements hidden | ||
= note: required because of the requirements on the impl of `Into<NodeSeq<(), VNode>>` for `()` | ||
= note: required by `into` | ||
--> tests/html_macro/block-fail.rs:12:16 | ||
| | ||
12 | <div>{ not_tree() }</div> | ||
| ^^^^^^^^ `()` cannot be formatted with the default formatter | ||
| | ||
= help: the trait `std::fmt::Display` is not implemented for `()` | ||
= note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead | ||
= note: required because of the requirements on the impl of `ToString` for `()` | ||
= note: required because of the requirements on the impl of `From<()>` for `VNode` | ||
= note: required because of the requirements on the impl of `Into<VNode>` for `()` | ||
= note: 2 redundant requirements hidden | ||
= note: required because of the requirements on the impl of `Into<NodeSeq<(), VNode>>` for `()` | ||
note: required by `into` | ||
|
||
error[E0277]: `()` doesn't implement `std::fmt::Display` | ||
--> $DIR/block-fail.rs:15:17 | ||
--> tests/html_macro/block-fail.rs:15:17 | ||
| | ||
15 | <>{ for (0..3).map(|_| not_tree()) }</> | ||
| ^^^^^^ `()` cannot be formatted with the default formatter | ||
| | ||
::: $WORKSPACE/packages/yew/src/utils/mod.rs | ||
| | ||
| T: Into<R>, | ||
| ------- required by this bound in `into_node_iter` | ||
| | ||
= help: the trait `std::fmt::Display` is not implemented for `()` | ||
= note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead | ||
= note: required because of the requirements on the impl of `ToString` for `()` | ||
= note: required because of the requirements on the impl of `From<()>` for `VNode` | ||
= note: required because of the requirements on the impl of `Into<VNode>` for `()` | ||
note: required by a bound in `into_node_iter` | ||
--> $WORKSPACE/packages/yew/src/utils/mod.rs | ||
| | ||
| T: Into<R>, | ||
| ^^^^^^^ required by this bound in `into_node_iter` |
Oops, something went wrong.