We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c578b1 commit 6568e2cCopy full SHA for 6568e2c
src/cargo/util/toml/mod.rs
@@ -3499,7 +3499,7 @@ impl fmt::Debug for PathValue {
3499
}
3500
3501
#[derive(Deserialize, Serialize, Debug, Clone)]
3502
-#[serde(expecting = "a map")]
+#[serde(expecting = "a lints table")]
3503
pub struct MaybeWorkspaceLints {
3504
#[serde(skip_serializing_if = "is_false")]
3505
#[serde(deserialize_with = "bool_no_false", default)]
tests/testsuite/lints.rs
@@ -172,7 +172,7 @@ fn malformed_on_nightly() {
172
error: failed to parse manifest[..]
173
174
Caused by:
175
- invalid type: integer `20`, expected a map
+ invalid type: integer `20`, expected a lints table
176
",
177
)
178
.run();
0 commit comments