Skip to content

Commit d9b1532

Browse files
committed
update stderr
1 parent f883b7c commit d9b1532

File tree

2 files changed

+48
-47
lines changed

2 files changed

+48
-47
lines changed

packages/yew-macro/tests/classes_macro/classes-fail.stderr

+6-6
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ error[E0277]: the trait bound `Classes: From<{integer}>` is not satisfied
2121
<Classes as From<&Option<T>>>
2222
<Classes as From<&String>>
2323
<Classes as From<&[T]>>
24-
<Classes as From<&implicit_clone::unsync::IString>>
24+
<Classes as From<&implicit_clone::unsync::string::IString>>
2525
<Classes as From<Cow<'static, str>>>
2626
<Classes as From<Option<T>>>
2727
<Classes as From<String>>
@@ -44,7 +44,7 @@ error[E0277]: the trait bound `Classes: From<{float}>` is not satisfied
4444
<Classes as From<&Option<T>>>
4545
<Classes as From<&String>>
4646
<Classes as From<&[T]>>
47-
<Classes as From<&implicit_clone::unsync::IString>>
47+
<Classes as From<&implicit_clone::unsync::string::IString>>
4848
<Classes as From<Cow<'static, str>>>
4949
<Classes as From<Option<T>>>
5050
<Classes as From<String>>
@@ -67,7 +67,7 @@ error[E0277]: the trait bound `Classes: From<{integer}>` is not satisfied
6767
<Classes as From<&Option<T>>>
6868
<Classes as From<&String>>
6969
<Classes as From<&[T]>>
70-
<Classes as From<&implicit_clone::unsync::IString>>
70+
<Classes as From<&implicit_clone::unsync::string::IString>>
7171
<Classes as From<Cow<'static, str>>>
7272
<Classes as From<Option<T>>>
7373
<Classes as From<String>>
@@ -93,7 +93,7 @@ error[E0277]: the trait bound `Classes: From<{integer}>` is not satisfied
9393
<Classes as From<&Option<T>>>
9494
<Classes as From<&String>>
9595
<Classes as From<&[T]>>
96-
<Classes as From<&implicit_clone::unsync::IString>>
96+
<Classes as From<&implicit_clone::unsync::string::IString>>
9797
<Classes as From<Cow<'static, str>>>
9898
<Classes as From<Option<T>>>
9999
<Classes as From<String>>
@@ -119,7 +119,7 @@ error[E0277]: the trait bound `Classes: From<u32>` is not satisfied
119119
<Classes as From<&Option<T>>>
120120
<Classes as From<&String>>
121121
<Classes as From<&[T]>>
122-
<Classes as From<&implicit_clone::unsync::IString>>
122+
<Classes as From<&implicit_clone::unsync::string::IString>>
123123
<Classes as From<Cow<'static, str>>>
124124
<Classes as From<Option<T>>>
125125
<Classes as From<String>>
@@ -145,7 +145,7 @@ error[E0277]: the trait bound `Classes: From<{integer}>` is not satisfied
145145
<Classes as From<&Option<T>>>
146146
<Classes as From<&String>>
147147
<Classes as From<&[T]>>
148-
<Classes as From<&implicit_clone::unsync::IString>>
148+
<Classes as From<&implicit_clone::unsync::string::IString>>
149149
<Classes as From<Cow<'static, str>>>
150150
<Classes as From<Option<T>>>
151151
<Classes as From<String>>

packages/yew-macro/tests/html_macro/element-fail.stderr

+42-41
Original file line numberDiff line numberDiff line change
@@ -396,76 +396,76 @@ note: function defined here
396396
| pub fn __ensure_type<T>(_: T) {}
397397
| ^^^^^^^^^^^^^
398398

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
400400
--> tests/html_macro/element-fail.rs:43:26
401401
|
402402
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 `()`
404404
|
405405
= help: the trait `IntoPropValue<VNode>` is implemented for `()`
406406

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
408408
--> tests/html_macro/element-fail.rs:44:27
409409
|
410410
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 `()`
412412
|
413413
= help: the trait `IntoPropValue<VNode>` is implemented for `()`
414414

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
416416
--> tests/html_macro/element-fail.rs:45:22
417417
|
418418
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 `()`
420420
|
421421
= help: the trait `IntoPropValue<VNode>` is implemented for `()`
422422

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
424424
--> tests/html_macro/element-fail.rs:46:28
425425
|
426426
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`
428428
|
429429
= 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>>>
432432
<&'static str as IntoPropValue<Classes>>
433433
<&'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>>>
435435
<&'static str as IntoPropValue<String>>
436-
<&'static str as IntoPropValue<implicit_clone::unsync::IString>>
436+
<&'static str as IntoPropValue<implicit_clone::unsync::string::IString>>
437437
<&String as IntoPropValue<VNode>>
438438
and $N others
439439

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
441441
--> tests/html_macro/element-fail.rs:47:23
442442
|
443443
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>`
445445
|
446446
= help: the following other types implement trait `IntoPropValue<T>`:
447447
<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>>>
450450
<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>>>
453453
<Option<VChild<T>> as IntoPropValue<Option<ChildrenRenderer<C>>>>
454454
<Option<VNode> as IntoPropValue<VNode>>
455455

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
457457
--> tests/html_macro/element-fail.rs:48:22
458458
|
459459
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}>`
461461
|
462462
= help: the following other types implement trait `IntoPropValue<T>`:
463463
<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>>>
466466
<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>>>
469469
<Option<VChild<T>> as IntoPropValue<Option<ChildrenRenderer<C>>>>
470470
<Option<VNode> as IntoPropValue<VNode>>
471471

@@ -567,11 +567,11 @@ error[E0277]: the trait bound `Option<yew::NodeRef>: IntoPropValue<yew::NodeRef>
567567
|
568568
= help: the following other types implement trait `IntoPropValue<T>`:
569569
<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>>>
572572
<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>>>
575575
<Option<VChild<T>> as IntoPropValue<Option<ChildrenRenderer<C>>>>
576576
<Option<VNode> as IntoPropValue<VNode>>
577577
= 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`
603603
| |_^ required by this bound in `yew::html::onclick::Wrapper::__macro_new`
604604
= 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)
605605

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
607607
--> tests/html_macro/element-fail.rs:60:28
608608
|
609609
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`
611611
|
612612
= 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>>>
615615
<&'static str as IntoPropValue<Classes>>
616616
<&'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>>>
618618
<&'static str as IntoPropValue<String>>
619-
<&'static str as IntoPropValue<implicit_clone::unsync::IString>>
619+
<&'static str as IntoPropValue<implicit_clone::unsync::string::IString>>
620620
<&String as IntoPropValue<VNode>>
621621
and $N others
622622

@@ -629,15 +629,16 @@ error[E0277]: the trait bound `(): IntoPropValue<yew::NodeRef>` is not satisfied
629629
= help: the trait `IntoPropValue<VNode>` is implemented for `()`
630630
= note: this error originates in the macro `html` (in Nightly builds, run with -Z macro-backtrace for more info)
631631

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
633633
--> tests/html_macro/element-fail.rs:77:16
634634
|
635635
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`
637637
|
638638
= 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

Comments
 (0)