diff --git a/Cargo.toml b/Cargo.toml index 55263427b..d05019360 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ with-syntex = ["syntex_syntax"] unstable-testing = ["clippy", "compiletest_rs"] [dependencies] -syntex_syntax = { version = "^0.46.0", optional = true } +syntex_syntax = { version = "^0.47.0", optional = true } clippy = { version = "0.*", optional = true } compiletest_rs = { version = "^0.2.0", optional = true } diff --git a/src/expr.rs b/src/expr.rs index 815cf60e7..25f537dd8 100644 --- a/src/expr.rs +++ b/src/expr.rs @@ -1121,6 +1121,7 @@ impl Invoke> for ExprStructFieldBuilder ident: respan(self.builder.span, self.id.to_ident()), expr: expr, span: self.builder.span, + is_shorthand: false, }; self.builder.fields.push(field); self.builder