Skip to content

Commit bb66e0f

Browse files
borsehuss
authored andcommitted
Auto merge of rust-lang#8772 - ehuss:update-toml, r=alexcrichton
Update toml dependency
1 parent 4d92bf5 commit bb66e0f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ strip-ansi-escapes = "0.1.0"
6060
tar = { version = "0.4.26", default-features = false }
6161
tempfile = "3.0"
6262
termcolor = "1.1"
63-
toml = "0.5.3"
63+
toml = "0.5.7"
6464
unicode-xid = "0.2.0"
6565
url = "2.0"
6666
walkdir = "2.2"

tests/testsuite/build.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ Caused by:
196196
could not parse input as TOML
197197
198198
Caused by:
199-
invalid number at line 3 column 23
199+
invalid TOML value, did you mean to use a quoted string? at line 3 column 23
200200
",
201201
)
202202
.run();
@@ -216,7 +216,7 @@ Caused by:
216216
could not parse input as TOML
217217
218218
Caused by:
219-
invalid number at line 1 column 5
219+
invalid TOML value, did you mean to use a quoted string? at line 1 column 5
220220
",
221221
)
222222
.run();

tests/testsuite/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ expected a list, but found a integer for `l3` in [..]/.cargo/config",
794794
assert_error(
795795
config.get::<L>("bad-env").unwrap_err(),
796796
"error in environment variable `CARGO_BAD_ENV`: \
797-
could not parse TOML list: invalid number at line 1 column 8",
797+
could not parse TOML list: invalid TOML value, did you mean to use a quoted string? at line 1 column 8",
798798
);
799799

800800
// Try some other sequence-like types.

0 commit comments

Comments
 (0)