You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: tests/macro/html-component-fail.stderr
+16-11
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ error: expected type, found `/`
20
20
--> $DIR/html-component-fail.rs:70:14
21
21
|
22
22
70 | html! { </Child> };
23
-
| ^
23
+
| ^ expected type
24
24
25
25
error: this open tag has no corresponding close tag
26
26
--> $DIR/html-component-fail.rs:71:13
@@ -47,7 +47,7 @@ error[E0599]: no method named `build` found for type `ChildPropertiesBuilder<Chi
47
47
| - method `build` not found for this
48
48
...
49
49
56 | html! { <Child with /> };
50
-
| ^^^^^^^^^^^^^^^^^^^^^^^^^
50
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `ChildPropertiesBuilder<ChildPropertiesBuilderStep_missing_required_prop_int>`
51
51
|
52
52
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
53
53
@@ -58,7 +58,7 @@ error[E0599]: no method named `build` found for type `ChildPropertiesBuilder<Chi
58
58
| - method `build` not found for this
59
59
...
60
60
57 | html! { <Child props /> };
61
-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
61
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `ChildPropertiesBuilder<ChildPropertiesBuilderStep_missing_required_prop_int>`
62
62
|
63
63
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
64
64
@@ -69,7 +69,7 @@ error[E0599]: no method named `build` found for type `ChildPropertiesBuilder<Chi
69
69
| - method `build` not found for this
70
70
...
71
71
60 | html! { <Child with props () /> };
72
-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
72
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `ChildPropertiesBuilder<ChildPropertiesBuilderStep_missing_required_prop_int>`
73
73
|
74
74
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
75
75
@@ -80,7 +80,7 @@ error[E0599]: no method named `build` found for type `ChildPropertiesBuilder<Chi
80
80
| - method `build` not found for this
81
81
...
82
82
61 | html! { <Child type=0 /> };
83
-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
83
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `ChildPropertiesBuilder<ChildPropertiesBuilderStep_missing_required_prop_int>`
84
84
|
85
85
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
86
86
@@ -91,7 +91,7 @@ error[E0599]: no method named `build` found for type `ChildPropertiesBuilder<Chi
91
91
| - method `build` not found for this
92
92
...
93
93
62 | html! { <Child invalid-prop-name=0 /> };
94
-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
94
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `ChildPropertiesBuilder<ChildPropertiesBuilderStep_missing_required_prop_int>`
95
95
|
96
96
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
97
97
@@ -110,7 +110,7 @@ error[E0599]: no method named `unknown` found for type `ChildPropertiesBuilder<C
110
110
| - method `unknown` not found for this
111
111
...
112
112
63 | html! { <Child unknown="unknown" /> };
113
-
| ^^^^^^^
113
+
| ^^^^^^^ method not found in `ChildPropertiesBuilder<ChildPropertiesBuilderStep_missing_required_prop_int>`
114
114
115
115
error[E0599]: no method named `build` found for type `ChildPropertiesBuilder<ChildPropertiesBuilderStep_missing_required_prop_int>` in the current scope
116
116
--> $DIR/html-component-fail.rs:64:5
@@ -119,7 +119,7 @@ error[E0599]: no method named `build` found for type `ChildPropertiesBuilder<Chi
119
119
| - method `build` not found for this
120
120
...
121
121
64 | html! { <Child string= /> };
122
-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
122
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `ChildPropertiesBuilder<ChildPropertiesBuilderStep_missing_required_prop_int>`
123
123
|
124
124
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error[E0599]: no method named `string` found for type `ChildPropertiesBuilder<ChildPropertiesBuilderStep_missing_required_prop_int>` in the current scope
166
170
--> $DIR/html-component-fail.rs:69:20
@@ -169,7 +173,7 @@ error[E0599]: no method named `string` found for type `ChildPropertiesBuilder<Ch
169
173
| - method `string` not found for this
170
174
...
171
175
69 | html! { <Child string="abc" /> };
172
-
| ^^^^^^
176
+
| ^^^^^^ method not found in `ChildPropertiesBuilder<ChildPropertiesBuilderStep_missing_required_prop_int>`
173
177
174
178
error[E0599]: no method named `children` found for type `ChildPropertiesBuilder<ChildPropertiesBuilderStep_missing_required_prop_int>` in the current scope
175
179
--> $DIR/html-component-fail.rs:73:5
@@ -178,7 +182,7 @@ error[E0599]: no method named `children` found for type `ChildPropertiesBuilder<
178
182
| - method `children` not found for this
179
183
...
180
184
73 | html! { <Child>{ "Not allowed" }</Child> };
181
-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
185
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `ChildPropertiesBuilder<ChildPropertiesBuilderStep_missing_required_prop_int>`
182
186
|
183
187
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
184
188
@@ -227,5 +231,6 @@ error[E0277]: the trait bound `yew::virtual_dom::vcomp::VChild<Child, ChildConta
227
231
= note: required because of the requirements on the impl of `std::convert::Into<yew::virtual_dom::vcomp::VChild<Child, ChildContainer>>` for `yew::virtual_dom::vnode::VNode<_>`
228
232
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
229
233
230
-
Some errors occurred: E0277, E0308, E0425, E0599, E0609.
234
+
Some errors have detailed explanations: E0277, E0308, E0425, E0599, E0609.
231
235
For more information about an error, try `rustc --explain E0277`.
0 commit comments