xmpp-rs/xso-proc/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonas Schäfer 8d8a19380a xso-proc: avoid an ambiguous_associated_items error
rustc forbids cases where an enum variant and an associated type of a
trait conflict for a while now [1].

We must thus avoid referring to associated items on types we do not
control in the macros. There was only one case I found, and it was in
the TryFrom implementation, and could be easily resolved by explicitly
spelling out Self::Error.

   [1]: https://github.com/rust-lang/rust/issues/57644
2025-05-13 12:01:21 +00:00
..
field xso-proc: improve spans for error messages 2025-05-02 17:16:59 +02:00
common.rs xso-proc: introduce trait for StructDef 2024-08-01 15:26:38 +02:00
compound.rs xso-proc: update inline comment with resolution from upstream bug 2025-05-03 17:57:15 +02:00
enums.rs xso: add support for attribute-switched enums 2025-04-27 18:34:48 +00:00
error_message.rs xso: reject attempts to match the same XML attribute in different fields 2025-04-27 11:18:50 +02:00
lib.rs xso-proc: avoid an ambiguous_associated_items error 2025-05-13 12:01:21 +00:00
meta.rs xso: add support for attribute-switched enums 2025-04-27 18:34:48 +00:00
scope.rs xso: implement support for extracting data from child elements 2024-08-03 15:17:30 +02:00
state.rs xso-proc: allow injecting states into the AsItemsSubmachine 2025-04-27 18:34:48 +00:00
structs.rs xso: add support for attribute-switched enums 2025-04-27 18:34:48 +00:00
types.rs xso-proc: improve spans for error messages 2025-05-02 17:16:59 +02:00