We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2464812 commit 518e10aCopy full SHA for 518e10a
src/lib.rs
@@ -242,6 +242,8 @@ pub enum Attribute {
242
/// 1. A HIR debug printing, like `"#[attr = Optimize(Speed)]"`
243
/// 2. The attribute as it appears in source form, like
244
/// `"#[optimize(speed)]"`.
245
+ // XXX: This variant must be last in the enum because it is untagged.
246
+ #[serde(untagged)]
247
Other(String),
248
}
249
@@ -878,6 +880,8 @@ pub enum Abi {
878
880
/// Can be specified as `extern "system"`.
879
881
System { unwind: bool },
882
/// Any other ABI, including unstable ones.
883
884
885
886
887
0 commit comments