Skip to content

Commit 222f431

Browse files
committed
yew-macro: update stderr
1 parent e6c965b commit 222f431

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

yew-macro/tests/macro/html-block-fail.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ error[E0277]: `()` doesn't implement `std::fmt::Display`
3434
15 | <>{ for (0..3).map(|_| not_tree()) }</>
3535
| ^^^^^^ `()` cannot be formatted with the default formatter
3636
|
37-
::: $WORKSPACE/yew/src/utils.rs
37+
::: $WORKSPACE/yew/src/utils.rs:77:8
3838
|
39-
| T: Into<R>,
39+
77 | T: Into<R>,
4040
| ------- required by this bound in `yew::utils::into_node_iter`
4141
|
4242
= help: the trait `std::fmt::Display` is not implemented for `()`

yew-macro/tests/macro/html-iterable-fail.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ error[E0277]: `()` is not an iterator
7171
18 | { for () }
7272
| ^^ `()` is not an iterator
7373
|
74-
::: $WORKSPACE/yew/src/utils.rs
74+
::: $WORKSPACE/yew/src/utils.rs:76:9
7575
|
76-
| IT: IntoIterator<Item = T>,
76+
76 | IT: IntoIterator<Item = T>,
7777
| ---------------------- required by this bound in `yew::utils::into_node_iter`
7878
|
7979
= help: the trait `std::iter::Iterator` is not implemented for `()`

0 commit comments

Comments
 (0)