error: expected `,` --> tests/classes_macro/classes-fail.rs:7:20 | 7 | classes!("one" "two"); | ^^^^^ error: string literals must not contain more than one class (hint: use `"two", "three"`) --> tests/classes_macro/classes-fail.rs:18:21 | 18 | classes!("one", "two three", "four"); | ^^^^^^^^^^^ error[E0277]: the trait bound `Classes: From<{integer}>` is not satisfied --> tests/classes_macro/classes-fail.rs:4:14 | 4 | classes!(42); | ^^ the trait `From<{integer}>` is not implemented for `Classes` | = help: the following other types implement trait `From`: > >> > > > >> >> > and $N others = note: required because of the requirements on the impl of `Into` for `{integer}` note: required by a bound in `Classes::push` --> $WORKSPACE/packages/yew/src/html/classes.rs | | pub fn push>(&mut self, class: T) { | ^^^^^^^^^^ required by this bound in `Classes::push` error[E0277]: the trait bound `Classes: From<{float}>` is not satisfied --> tests/classes_macro/classes-fail.rs:5:14 | 5 | classes!(42.0); | ^^^^ the trait `From<{float}>` is not implemented for `Classes` | = help: the following other types implement trait `From`: > >> > > > >> >> > and $N others = note: required because of the requirements on the impl of `Into` for `{float}` note: required by a bound in `Classes::push` --> $WORKSPACE/packages/yew/src/html/classes.rs | | pub fn push>(&mut self, class: T) { | ^^^^^^^^^^ required by this bound in `Classes::push` error[E0277]: the trait bound `Classes: From<{integer}>` is not satisfied --> tests/classes_macro/classes-fail.rs:9:14 | 9 | classes!(vec![42]); | ^^^ the trait `From<{integer}>` is not implemented for `Classes` | = help: the following other types implement trait `From`: > >> > > > >> >> > and $N others = note: required because of the requirements on the impl of `Into` for `{integer}` = note: required because of the requirements on the impl of `From>` for `Classes` = note: 1 redundant requirement hidden = note: required because of the requirements on the impl of `Into` for `Vec<{integer}>` note: required by a bound in `Classes::push` --> $WORKSPACE/packages/yew/src/html/classes.rs | | pub fn push>(&mut self, class: T) { | ^^^^^^^^^^ required by this bound in `Classes::push` error[E0277]: the trait bound `Classes: From<{integer}>` is not satisfied --> tests/classes_macro/classes-fail.rs:13:14 | 13 | classes!(some); | ^^^^ the trait `From<{integer}>` is not implemented for `Classes` | = help: the following other types implement trait `From`: > >> > > > >> >> > and $N others = note: required because of the requirements on the impl of `Into` for `{integer}` = note: required because of the requirements on the impl of `From>` for `Classes` = note: 1 redundant requirement hidden = note: required because of the requirements on the impl of `Into` for `Option<{integer}>` note: required by a bound in `Classes::push` --> $WORKSPACE/packages/yew/src/html/classes.rs | | pub fn push>(&mut self, class: T) { | ^^^^^^^^^^ required by this bound in `Classes::push` error[E0277]: the trait bound `Classes: From` is not satisfied --> tests/classes_macro/classes-fail.rs:14:14 | 14 | classes!(none); | ^^^^ the trait `From` is not implemented for `Classes` | = help: the following other types implement trait `From`: > >> > > > >> >> > and $N others = note: required because of the requirements on the impl of `Into` for `u32` = note: required because of the requirements on the impl of `From>` for `Classes` = note: 1 redundant requirement hidden = note: required because of the requirements on the impl of `Into` for `Option` note: required by a bound in `Classes::push` --> $WORKSPACE/packages/yew/src/html/classes.rs | | pub fn push>(&mut self, class: T) { | ^^^^^^^^^^ required by this bound in `Classes::push` error[E0277]: the trait bound `Classes: From<{integer}>` is not satisfied --> tests/classes_macro/classes-fail.rs:16:21 | 16 | classes!("one", 42); | ^^ the trait `From<{integer}>` is not implemented for `Classes` | = help: the following other types implement trait `From`: > >> > > > >> >> > and $N others = note: required because of the requirements on the impl of `Into` for `{integer}` note: required by a bound in `Classes::push` --> $WORKSPACE/packages/yew/src/html/classes.rs | | pub fn push>(&mut self, class: T) { | ^^^^^^^^^^ required by this bound in `Classes::push`