-
-
Notifications
You must be signed in to change notification settings - Fork 845
Closed
Labels
Description
I've been trying to use attributes on Rust stable 1.26.0, but the compiler won't allow it:
error[E0658]: The attribute `serde` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
--> / .../src/data.rs:16:5
|
16 | #[serde(serialize_with = "ordered_map")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The documentation on https://serde.rs/attributes.html says:
They require a Rust compiler version 1.15 or newer.
This statement seems incorrect. Or am I misunderstanding something?
theSdev