Skip to content

Commit 73fb7aa

Browse files
committed
libflux: Move derive helper attribute after derive macro
On current nightly, this fixes a warning: error: derive helper attribute is used before it is introduced It goes on to say = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #79202 <rust-lang/rust#79202> This change gets ahead of the issue.
1 parent b3d7400 commit 73fb7aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libflux/core/src/ast/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,8 +619,8 @@ pub enum ParameterType {
619619
},
620620
}
621621

622-
#[serde(tag = "type")]
623622
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)]
623+
#[serde(tag = "type")]
624624
pub struct TypeExpression {
625625
#[serde(skip_serializing_if = "BaseNode::is_empty")]
626626
#[serde(default)]

libflux/go/libflux/buildinfo.gen.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var sourceHashes = map[string]string{
2222
"libflux/core/src/ast/flatbuffers/mod.rs": "17c4ce765674469578c5e6f30f18dcb10891b39752806b71e2b88ac00ffaaac0",
2323
"libflux/core/src/ast/flatbuffers/monotype.rs": "1ca54804a2b4ece03d5da4e61176d02c9d4c2e685ad9b0a45dad1201f3b7909d",
2424
"libflux/core/src/ast/flatbuffers/tests.rs": "46e9aa29e03cc8843617fe2b255766287b9b0e2c7714a26de027f52308d7f161",
25-
"libflux/core/src/ast/mod.rs": "f6ac45b20b958a2b1fe351802147bf4e053bde49bcad0d210e4530357d026aa7",
25+
"libflux/core/src/ast/mod.rs": "72c74ec1a4666d2f01ffa80bde2aa1898a8d2d18378cf816cd949dbda95c379e",
2626
"libflux/core/src/ast/tests.rs": "ea3ef7682ebb7afc08dea0afe51af8cd4920aef60fecb826ec5405147cf153f2",
2727
"libflux/core/src/ast/walk/mod.rs": "38dad25272147d34f15983565a89e1a861c493d44111a5e96d0ffcfc7115a5bf",
2828
"libflux/core/src/ast/walk/tests.rs": "f7b2d7dd5643bb795a86c04b6979b136b0de46b52b213caff094aed6d204a05d",

0 commit comments

Comments
 (0)