1- error: this open tag has no corresponding close tag
1+ error: this opening tag has no corresponding closing tag
22 --> $DIR/html-component-fail.rs:79:13
33 |
4479 | html! { <Child> };
@@ -30,7 +30,7 @@ error: unexpected token
3030 |
3131 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
3232
33- error: this open tag has no corresponding close tag
33+ error: this opening tag has no corresponding closing tag
3434 --> $DIR/html-component-fail.rs:83:13
3535 |
363683 | html! { <Child with props > };
@@ -54,31 +54,31 @@ error: too many refs set
5454 |
5555 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
5656
57- error: Using special syntax `with props` along with named prop is not allowed. This rule does not apply to special `ref` prop
57+ error: Using the `with props` syntax in combination with named props is not allowed (note: this does not apply to the `ref` prop).
5858 --> $DIR/html-component-fail.rs:86:38
5959 |
606086 | html! { <Child with props ref=() value=1 ref=() /> };
6161 | ^^^^^
6262 |
6363 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
6464
65- error: Using special syntax `with props` along with named prop is not allowed. This rule does not apply to special `ref` prop
65+ error: Using the `with props` syntax in combination with named props is not allowed (note: this does not apply to the `ref` prop).
6666 --> $DIR/html-component-fail.rs:87:31
6767 |
686887 | html! { <Child with props value=1 ref=() ref=() /> };
6969 | ^^^^^
7070 |
7171 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
7272
73- error: Using special syntax `with props` along with named prop is not allowed. This rule does not apply to special `ref` prop
73+ error: Using the `with props` syntax in combination with named props is not allowed (note: this does not apply to the `ref` prop).
7474 --> $DIR/html-component-fail.rs:88:28
7575 |
767688 | html! { <Child value=1 with props ref=() ref=() /> };
7777 | ^^^^
7878 |
7979 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
8080
81- error: Using special syntax `with props` along with named prop is not allowed. This rule does not apply to special `ref` prop
81+ error: Using the `with props` syntax in combination with named props is not allowed (note: this does not apply to the `ref` prop).
8282 --> $DIR/html-component-fail.rs:89:35
8383 |
848489 | html! { <Child value=1 ref=() with props ref=() /> };
@@ -102,15 +102,15 @@ error: unexpected token
102102 |
103103 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
104104
105- error: Using special syntax `with props` along with named prop is not allowed. This rule does not apply to special `ref` prop
105+ error: Using the `with props` syntax in combination with named props is not allowed (note: this does not apply to the `ref` prop).
106106 --> $DIR/html-component-fail.rs:93:28
107107 |
10810893 | html! { <Child value=1 with props /> };
109109 | ^^^^
110110 |
111111 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
112112
113- error: Using special syntax `with props` along with named prop is not allowed. This rule does not apply to special `ref` prop
113+ error: Using the `with props` syntax in combination with named props is not allowed (note: this does not apply to the `ref` prop).
114114 --> $DIR/html-component-fail.rs:94:31
115115 |
11611694 | html! { <Child with props value=1 /> };
@@ -150,39 +150,39 @@ error: too many refs set
150150 |
151151 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
152152
153- error: this close tag has no corresponding open tag
153+ error: this closing tag has no corresponding opening tag
154154 --> $DIR/html-component-fail.rs:106:13
155155 |
156156106 | html! { </Child> };
157157 | ^^^^^^^^
158158 |
159159 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
160160
161- error: this open tag has no corresponding close tag
161+ error: this opening tag has no corresponding closing tag
162162 --> $DIR/html-component-fail.rs:107:13
163163 |
164164107 | html! { <Child><Child></Child> };
165165 | ^^^^^^^
166166 |
167167 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
168168
169- error: only one root html element allowed
169+ error: only one root html element is allowed (hint: you can wrap multiple html elements in a fragment `<></>`)
170170 --> $DIR/html-component-fail.rs:108:28
171171 |
172172108 | html! { <Child></Child><Child></Child> };
173173 | ^^^^^^^^^^^^^^^
174174 |
175175 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
176176
177- error: this close tag has no corresponding open tag
177+ error: this closing tag has no corresponding opening tag
178178 --> $DIR/html-component-fail.rs:117:30
179179 |
180180117 | html! { <Generic<String>></Generic> };
181181 | ^^^^^^^^^^
182182 |
183183 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
184184
185- error: this close tag has no corresponding open tag
185+ error: this closing tag has no corresponding opening tag
186186 --> $DIR/html-component-fail.rs:118:30
187187 |
188188118 | html! { <Generic<String>></Generic<Vec<String>>> };
0 commit comments