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: packages/yew-macro/tests/html_macro/element-fail.stderr
+42-41
Original file line number
Diff line number
Diff line change
@@ -396,76 +396,76 @@ note: function defined here
396
396
| pub fn __ensure_type<T>(_: T) {}
397
397
| ^^^^^^^^^^^^^
398
398
399
-
error[E0277]: the trait bound `(): IntoPropValue<Option<implicit_clone::unsync::IString>>` is not satisfied
399
+
error[E0277]: the trait bound `(): IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not satisfied
400
400
--> tests/html_macro/element-fail.rs:43:26
401
401
|
402
402
43 | html! { <input type={()} /> };
403
-
| ^^ the trait `IntoPropValue<Option<implicit_clone::unsync::IString>>` is not implemented for `()`
403
+
| ^^ the trait `IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not implemented for `()`
404
404
|
405
405
= help: the trait `IntoPropValue<VNode>` is implemented for `()`
406
406
407
-
error[E0277]: the trait bound `(): IntoPropValue<Option<implicit_clone::unsync::IString>>` is not satisfied
407
+
error[E0277]: the trait bound `(): IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not satisfied
408
408
--> tests/html_macro/element-fail.rs:44:27
409
409
|
410
410
44 | html! { <input value={()} /> };
411
-
| ^^ the trait `IntoPropValue<Option<implicit_clone::unsync::IString>>` is not implemented for `()`
411
+
| ^^ the trait `IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not implemented for `()`
412
412
|
413
413
= help: the trait `IntoPropValue<VNode>` is implemented for `()`
414
414
415
-
error[E0277]: the trait bound `(): IntoPropValue<Option<implicit_clone::unsync::IString>>` is not satisfied
415
+
error[E0277]: the trait bound `(): IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not satisfied
416
416
--> tests/html_macro/element-fail.rs:45:22
417
417
|
418
418
45 | html! { <a href={()} /> };
419
-
| ^^ the trait `IntoPropValue<Option<implicit_clone::unsync::IString>>` is not implemented for `()`
419
+
| ^^ the trait `IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not implemented for `()`
420
420
|
421
421
= help: the trait `IntoPropValue<VNode>` is implemented for `()`
422
422
423
-
error[E0277]: the trait bound `NotToString: IntoPropValue<Option<implicit_clone::unsync::IString>>` is not satisfied
423
+
error[E0277]: the trait bound `NotToString: IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not satisfied
424
424
--> tests/html_macro/element-fail.rs:46:28
425
425
|
426
426
46 | html! { <input string={NotToString} /> };
427
-
| ^^^^^^^^^^^ the trait `IntoPropValue<Option<implicit_clone::unsync::IString>>` is not implemented for `NotToString`
427
+
| ^^^^^^^^^^^ the trait `IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not implemented for `NotToString`
428
428
|
429
429
= help: the following other types implement trait `IntoPropValue<T>`:
430
-
<&'static [(K, V)] as IntoPropValue<implicit_clone::unsync::IMap<K, V>>>
431
-
<&'static [T] as IntoPropValue<implicit_clone::unsync::IArray<T>>>
430
+
<&'static [(K, V)] as IntoPropValue<implicit_clone::unsync::map::IMap<K, V>>>
431
+
<&'static [T] as IntoPropValue<implicit_clone::unsync::array::IArray<T>>>
432
432
<&'static str as IntoPropValue<Classes>>
433
433
<&'static str as IntoPropValue<Option<String>>>
434
-
<&'static str as IntoPropValue<Option<implicit_clone::unsync::IString>>>
434
+
<&'static str as IntoPropValue<Option<implicit_clone::unsync::string::IString>>>
435
435
<&'static str as IntoPropValue<String>>
436
-
<&'static str as IntoPropValue<implicit_clone::unsync::IString>>
436
+
<&'static str as IntoPropValue<implicit_clone::unsync::string::IString>>
437
437
<&String as IntoPropValue<VNode>>
438
438
and $N others
439
439
440
-
error[E0277]: the trait bound `Option<NotToString>: IntoPropValue<Option<implicit_clone::unsync::IString>>` is not satisfied
440
+
error[E0277]: the trait bound `Option<NotToString>: IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not satisfied
441
441
--> tests/html_macro/element-fail.rs:47:23
442
442
|
443
443
47 | html! { <a media={Some(NotToString)} /> };
444
-
| ^^^^ the trait `IntoPropValue<Option<implicit_clone::unsync::IString>>` is not implemented for `Option<NotToString>`
444
+
| ^^^^ the trait `IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not implemented for `Option<NotToString>`
445
445
|
446
446
= help: the following other types implement trait `IntoPropValue<T>`:
447
447
<Option<&'static str> as IntoPropValue<Option<String>>>
448
-
<Option<&'static str> as IntoPropValue<Option<implicit_clone::unsync::IString>>>
449
-
<Option<Cow<'static, str>> as IntoPropValue<Option<implicit_clone::unsync::IString>>>
448
+
<Option<&'static str> as IntoPropValue<Option<implicit_clone::unsync::string::IString>>>
449
+
<Option<Cow<'static, str>> as IntoPropValue<Option<implicit_clone::unsync::string::IString>>>
450
450
<Option<F> as IntoPropValue<Option<yew::Callback<I, O>>>>
451
-
<Option<Rc<str>> as IntoPropValue<Option<implicit_clone::unsync::IString>>>
452
-
<Option<String> as IntoPropValue<Option<implicit_clone::unsync::IString>>>
451
+
<Option<Rc<str>> as IntoPropValue<Option<implicit_clone::unsync::string::IString>>>
452
+
<Option<String> as IntoPropValue<Option<implicit_clone::unsync::string::IString>>>
453
453
<Option<VChild<T>> as IntoPropValue<Option<ChildrenRenderer<C>>>>
454
454
<Option<VNode> as IntoPropValue<VNode>>
455
455
456
-
error[E0277]: the trait bound `Option<{integer}>: IntoPropValue<Option<implicit_clone::unsync::IString>>` is not satisfied
456
+
error[E0277]: the trait bound `Option<{integer}>: IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not satisfied
457
457
--> tests/html_macro/element-fail.rs:48:22
458
458
|
459
459
48 | html! { <a href={Some(5)} /> };
460
-
| ^^^^ the trait `IntoPropValue<Option<implicit_clone::unsync::IString>>` is not implemented for `Option<{integer}>`
460
+
| ^^^^ the trait `IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not implemented for `Option<{integer}>`
461
461
|
462
462
= help: the following other types implement trait `IntoPropValue<T>`:
463
463
<Option<&'static str> as IntoPropValue<Option<String>>>
464
-
<Option<&'static str> as IntoPropValue<Option<implicit_clone::unsync::IString>>>
465
-
<Option<Cow<'static, str>> as IntoPropValue<Option<implicit_clone::unsync::IString>>>
464
+
<Option<&'static str> as IntoPropValue<Option<implicit_clone::unsync::string::IString>>>
465
+
<Option<Cow<'static, str>> as IntoPropValue<Option<implicit_clone::unsync::string::IString>>>
466
466
<Option<F> as IntoPropValue<Option<yew::Callback<I, O>>>>
467
-
<Option<Rc<str>> as IntoPropValue<Option<implicit_clone::unsync::IString>>>
468
-
<Option<String> as IntoPropValue<Option<implicit_clone::unsync::IString>>>
467
+
<Option<Rc<str>> as IntoPropValue<Option<implicit_clone::unsync::string::IString>>>
468
+
<Option<String> as IntoPropValue<Option<implicit_clone::unsync::string::IString>>>
469
469
<Option<VChild<T>> as IntoPropValue<Option<ChildrenRenderer<C>>>>
470
470
<Option<VNode> as IntoPropValue<VNode>>
471
471
@@ -567,11 +567,11 @@ error[E0277]: the trait bound `Option<yew::NodeRef>: IntoPropValue<yew::NodeRef>
567
567
|
568
568
= help: the following other types implement trait `IntoPropValue<T>`:
569
569
<Option<&'static str> as IntoPropValue<Option<String>>>
570
-
<Option<&'static str> as IntoPropValue<Option<implicit_clone::unsync::IString>>>
571
-
<Option<Cow<'static, str>> as IntoPropValue<Option<implicit_clone::unsync::IString>>>
570
+
<Option<&'static str> as IntoPropValue<Option<implicit_clone::unsync::string::IString>>>
571
+
<Option<Cow<'static, str>> as IntoPropValue<Option<implicit_clone::unsync::string::IString>>>
572
572
<Option<F> as IntoPropValue<Option<yew::Callback<I, O>>>>
573
-
<Option<Rc<str>> as IntoPropValue<Option<implicit_clone::unsync::IString>>>
574
-
<Option<String> as IntoPropValue<Option<implicit_clone::unsync::IString>>>
573
+
<Option<Rc<str>> as IntoPropValue<Option<implicit_clone::unsync::string::IString>>>
574
+
<Option<String> as IntoPropValue<Option<implicit_clone::unsync::string::IString>>>
575
575
<Option<VChild<T>> as IntoPropValue<Option<ChildrenRenderer<C>>>>
576
576
<Option<VNode> as IntoPropValue<VNode>>
577
577
= note: this error originates in the macro `html` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -603,20 +603,20 @@ note: required by a bound in `yew::html::onclick::Wrapper::__macro_new`
603
603
| |_^ required by this bound in `yew::html::onclick::Wrapper::__macro_new`
604
604
= note: this error originates in the macro `impl_action` which comes from the expansion of the macro `impl_short` (in Nightly builds, run with -Z macro-backtrace for more info)
605
605
606
-
error[E0277]: the trait bound `NotToString: IntoPropValue<Option<implicit_clone::unsync::IString>>` is not satisfied
606
+
error[E0277]: the trait bound `NotToString: IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not satisfied
607
607
--> tests/html_macro/element-fail.rs:60:28
608
608
|
609
609
60 | html! { <input string={NotToString} /> };
610
-
| ^^^^^^^^^^^ the trait `IntoPropValue<Option<implicit_clone::unsync::IString>>` is not implemented for `NotToString`
610
+
| ^^^^^^^^^^^ the trait `IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not implemented for `NotToString`
611
611
|
612
612
= help: the following other types implement trait `IntoPropValue<T>`:
613
-
<&'static [(K, V)] as IntoPropValue<implicit_clone::unsync::IMap<K, V>>>
614
-
<&'static [T] as IntoPropValue<implicit_clone::unsync::IArray<T>>>
613
+
<&'static [(K, V)] as IntoPropValue<implicit_clone::unsync::map::IMap<K, V>>>
614
+
<&'static [T] as IntoPropValue<implicit_clone::unsync::array::IArray<T>>>
615
615
<&'static str as IntoPropValue<Classes>>
616
616
<&'static str as IntoPropValue<Option<String>>>
617
-
<&'static str as IntoPropValue<Option<implicit_clone::unsync::IString>>>
617
+
<&'static str as IntoPropValue<Option<implicit_clone::unsync::string::IString>>>
618
618
<&'static str as IntoPropValue<String>>
619
-
<&'static str as IntoPropValue<implicit_clone::unsync::IString>>
619
+
<&'static str as IntoPropValue<implicit_clone::unsync::string::IString>>
620
620
<&String as IntoPropValue<VNode>>
621
621
and $N others
622
622
@@ -629,15 +629,16 @@ error[E0277]: the trait bound `(): IntoPropValue<yew::NodeRef>` is not satisfied
629
629
= help: the trait `IntoPropValue<VNode>` is implemented for `()`
630
630
= note: this error originates in the macro `html` (in Nightly builds, run with -Z macro-backtrace for more info)
631
631
632
-
error[E0277]: the trait bound `implicit_clone::unsync::IString: From<{integer}>` is not satisfied
632
+
error[E0277]: the trait bound `implicit_clone::unsync::string::IString: From<{integer}>` is not satisfied
633
633
--> tests/html_macro/element-fail.rs:77:16
634
634
|
635
635
77 | html! { <@{55}></@> };
636
-
| ^^ the trait `From<{integer}>` is not implemented for `implicit_clone::unsync::IString`
636
+
| ^^ the trait `From<{integer}>` is not implemented for `implicit_clone::unsync::string::IString`
637
637
|
638
638
= help: the following other types implement trait `From<T>`:
639
-
<implicit_clone::unsync::IString as From<&'static str>>
640
-
<implicit_clone::unsync::IString as From<Cow<'static, str>>>
641
-
<implicit_clone::unsync::IString as From<Rc<str>>>
642
-
<implicit_clone::unsync::IString as From<String>>
643
-
= note: required because of the requirements on the impl of `Into<implicit_clone::unsync::IString>` for `{integer}`
639
+
<implicit_clone::unsync::string::IString as From<&'static str>>
640
+
<implicit_clone::unsync::string::IString as From<&implicit_clone::unsync::string::IString>>
641
+
<implicit_clone::unsync::string::IString as From<Cow<'static, str>>>
642
+
<implicit_clone::unsync::string::IString as From<Rc<str>>>
643
+
<implicit_clone::unsync::string::IString as From<String>>
644
+
= note: required because of the requirements on the impl of `Into<implicit_clone::unsync::string::IString>` for `{integer}`
0 commit comments