diff --git a/packages/yew-macro/tests/html_macro/element-fail.stderr b/packages/yew-macro/tests/html_macro/element-fail.stderr
index 4ce990ed9..a69e3e495 100644
--- a/packages/yew-macro/tests/html_macro/element-fail.stderr
+++ b/packages/yew-macro/tests/html_macro/element-fail.stderr
@@ -1,209 +1,209 @@
error: this opening tag has no corresponding closing tag
- --> $DIR/element-fail.rs:7:13
+ --> $DIR/tests/html_macro/element-fail.rs:7:13
|
7 | html! {
};
| ^^^^^
error: this opening tag has no corresponding closing tag
- --> $DIR/element-fail.rs:8:18
+ --> $DIR/tests/html_macro/element-fail.rs:8:18
|
8 | html! {
};
| ^^^^^
error: this opening tag has no corresponding closing tag
- --> $DIR/element-fail.rs:9:13
+ --> $DIR/tests/html_macro/element-fail.rs:9:13
|
9 | html! {
};
| ^^^^^
error: this closing tag has no corresponding opening tag
- --> $DIR/element-fail.rs:12:13
+ --> $DIR/tests/html_macro/element-fail.rs:12:13
|
12 | html! {
};
| ^^^^^^
error: this closing tag has no corresponding opening tag
- --> $DIR/element-fail.rs:13:18
+ --> $DIR/tests/html_macro/element-fail.rs:13:18
|
13 | html! { };
| ^^^^^^^
error: only one root html element is allowed (hint: you can wrap multiple html elements in a fragment `<>>`)
- --> $DIR/element-fail.rs:14:20
+ --> $DIR/tests/html_macro/element-fail.rs:14:20
|
14 | html! { };
| ^^^^^^
error: this closing tag has no corresponding opening tag
- --> $DIR/element-fail.rs:17:18
+ --> $DIR/tests/html_macro/element-fail.rs:17:18
|
17 | html! {
};
| ^^^^^^^
error: this closing tag has no corresponding opening tag
- --> $DIR/element-fail.rs:18:20
+ --> $DIR/tests/html_macro/element-fail.rs:18:20
|
18 | html! { };
| ^^^^^^^^
error: only one root html element is allowed (hint: you can wrap multiple html elements in a fragment `<>>`)
- --> $DIR/element-fail.rs:21:24
+ --> $DIR/tests/html_macro/element-fail.rs:21:24
|
21 | html! { };
| ^^^^^^^^^^^
error: expected a valid html element
- --> $DIR/element-fail.rs:23:18
+ --> $DIR/tests/html_macro/element-fail.rs:23:18
|
23 | html! {
Invalid
};
| ^^^^^^^
error: `attr` can only be specified once but is given here again
- --> $DIR/element-fail.rs:26:27
+ --> $DIR/tests/html_macro/element-fail.rs:26:27
|
26 | html! { };
| ^^^^
error: `value` can only be specified once but is given here again
- --> $DIR/element-fail.rs:27:32
+ --> $DIR/tests/html_macro/element-fail.rs:27:32
|
27 | html! { };
| ^^^^^
error: `kind` can only be specified once but is given here again
- --> $DIR/element-fail.rs:28:36
+ --> $DIR/tests/html_macro/element-fail.rs:28:36
|
28 | html! { };
| ^^^^
error: `checked` can only be specified once but is given here again
- --> $DIR/element-fail.rs:29:33
+ --> $DIR/tests/html_macro/element-fail.rs:29:33
|
29 | html! { };
| ^^^^^^^
error: `disabled` can only be specified once but is given here again
- --> $DIR/element-fail.rs:30:34
+ --> $DIR/tests/html_macro/element-fail.rs:30:34
|
30 | html! { };
| ^^^^^^^^
error: `selected` can only be specified once but is given here again
- --> $DIR/element-fail.rs:31:35
+ --> $DIR/tests/html_macro/element-fail.rs:31:35
|
31 | html! { };
| ^^^^^^^^
error: `class` can only be specified once but is given here again
- --> $DIR/element-fail.rs:32:32
+ --> $DIR/tests/html_macro/element-fail.rs:32:32
|
32 | html! { };
| ^^^^^
error: `ref` can only be specified once
- --> $DIR/element-fail.rs:33:20
+ --> $DIR/tests/html_macro/element-fail.rs:33:20
|
33 | html! { };
| ^^^
error: `ref` can only be specified once
- --> $DIR/element-fail.rs:63:20
+ --> $DIR/tests/html_macro/element-fail.rs:63:20
|
63 | html! { };
| ^^^
error: the tag `` is a void element and cannot have children (hint: rewrite this as ``)
- --> $DIR/element-fail.rs:66:13
+ --> $DIR/tests/html_macro/element-fail.rs:66:13
|
66 | html! { };
| ^^^^^^^^^^^^^^^^^^^
error: the tag `` is a void element and cannot have children (hint: rewrite this as ``)
- --> $DIR/element-fail.rs:68:13
+ --> $DIR/tests/html_macro/element-fail.rs:68:13
|
68 | html! { };
| ^^^^^^^^^^^^^^^^^^^
error: this dynamic tag is missing an expression block defining its value
- --> $DIR/element-fail.rs:71:14
+ --> $DIR/tests/html_macro/element-fail.rs:71:14
|
71 | html! { <@>@> };
| ^
error: this dynamic tag is missing an expression block defining its value
- --> $DIR/element-fail.rs:72:14
+ --> $DIR/tests/html_macro/element-fail.rs:72:14
|
72 | html! { <@/> };
| ^
error: dynamic closing tags must not have a body (hint: replace it with just `@>`)
- --> $DIR/element-fail.rs:75:27
+ --> $DIR/tests/html_macro/element-fail.rs:75:27
|
75 | html! { <@{"test"}>@{"test"}> };
| ^^^^^^^^
error: the property value must be either a literal or enclosed in braces. Consider adding braces around your expression.
- --> $DIR/element-fail.rs:83:24
+ --> $DIR/tests/html_macro/element-fail.rs:83:24
|
83 | html! { };
| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: the property value must be either a literal or enclosed in braces. Consider adding braces around your expression.
- --> $DIR/element-fail.rs:84:24
+ --> $DIR/tests/html_macro/element-fail.rs:84:24
|
84 | html! { };
| ^^
error: the property value must be either a literal or enclosed in braces. Consider adding braces around your expression.
- --> $DIR/element-fail.rs:85:24
+ --> $DIR/tests/html_macro/element-fail.rs:85:24
|
85 | html! { };
| ^^
error: the property value must be either a literal or enclosed in braces. Consider adding braces around your expression.
- --> $DIR/element-fail.rs:86:28
+ --> $DIR/tests/html_macro/element-fail.rs:86:28
|
86 | html! { };
| ^^^^^^^
error: the property value must be either a literal or enclosed in braces. Consider adding braces around your expression.
- --> $DIR/element-fail.rs:87:27
+ --> $DIR/tests/html_macro/element-fail.rs:87:27
|
87 | html! { };
| ^^^^^^^^^^^
error: the property value must be either a literal or enclosed in braces. Consider adding braces around your expression.
- --> $DIR/element-fail.rs:88:22
+ --> $DIR/tests/html_macro/element-fail.rs:88:22
|
88 | html! { };
| ^^^^^^^^^^^^^^^^^
error: the property value must be either a literal or enclosed in braces. Consider adding braces around your expression.
- --> $DIR/element-fail.rs:89:21
+ --> $DIR/tests/html_macro/element-fail.rs:89:21
|
89 | html! { };
| ^^^^^^^
error: the property value must be either a literal or enclosed in braces. Consider adding braces around your expression.
- --> $DIR/element-fail.rs:90:25
+ --> $DIR/tests/html_macro/element-fail.rs:90:25
|
90 | html! { };
| ^^
error: the property value must be either a literal or enclosed in braces. Consider adding braces around your expression.
- --> $DIR/element-fail.rs:91:26
+ --> $DIR/tests/html_macro/element-fail.rs:91:26
|
91 | html! { };
| ^^
error: the property value must be either a literal or enclosed in braces. Consider adding braces around your expression.
- --> $DIR/element-fail.rs:92:27
+ --> $DIR/tests/html_macro/element-fail.rs:92:27
|
92 | html! { };
| ^^^^^^^^^^^
warning: use of deprecated function `compile_fail::deprecated_use_of_class`: the use of `(...)` with the attribute `class` is deprecated and will be removed in version 0.19. Use the `classes!` macro instead.
- --> $DIR/element-fail.rs:80:25
+ --> $DIR/tests/html_macro/element-fail.rs:80:25
|
80 | html! { };
| ^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -211,13 +211,13 @@ warning: use of deprecated function `compile_fail::deprecated_use_of_class`: the
= note: `#[warn(deprecated)]` on by default
error[E0308]: mismatched types
- --> $DIR/element-fail.rs:36:28
+ --> $DIR/tests/html_macro/element-fail.rs:36:28
|
36 | html! { };
| ^ expected `bool`, found integer
error[E0308]: mismatched types
- --> $DIR/element-fail.rs:37:29
+ --> $DIR/tests/html_macro/element-fail.rs:37:29
|
37 | html! { };
| ^^^^^^^^^^^ expected `bool`, found enum `Option`
@@ -226,13 +226,13 @@ error[E0308]: mismatched types
found enum `Option`
error[E0308]: mismatched types
- --> $DIR/element-fail.rs:38:29
+ --> $DIR/tests/html_macro/element-fail.rs:38:29
|
38 | html! { };
| ^ expected `bool`, found integer
error[E0308]: mismatched types
- --> $DIR/element-fail.rs:39:30
+ --> $DIR/tests/html_macro/element-fail.rs:39:30
|
39 | html! { };
| ^^^^^^^^^^ expected `bool`, found enum `Option`
@@ -241,13 +241,13 @@ error[E0308]: mismatched types
found enum `Option`
error[E0308]: mismatched types
- --> $DIR/element-fail.rs:40:30
+ --> $DIR/tests/html_macro/element-fail.rs:40:30
|
40 | html! { };
| ^ expected `bool`, found integer
error[E0277]: the trait bound `(): IntoPropValue