Skip to content

Commit b41c209

Browse files
committed
Bump toml 0.5.3
1 parent 6aca041 commit b41c209

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ strip-ansi-escapes = "0.1.0"
5959
tar = { version = "0.4.18", default-features = false }
6060
tempfile = "3.0"
6161
termcolor = "1.0"
62-
toml = "0.5.0"
62+
toml = "0.5.3"
6363
url = { version = "2.0", features = ['serde'] }
6464
walkdir = "2.2"
6565
clap = "2.31.2"

tests/testsuite/bad_config.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ Caused by:
222222
could not parse input as TOML
223223
224224
Caused by:
225-
expected an equals, found eof at line 1
225+
expected an equals, found eof at line 1 column 2
226226
",
227227
)
228228
.run();
@@ -465,7 +465,7 @@ Caused by:
465465
could not parse input as TOML
466466
467467
Caused by:
468-
expected a table key, found a newline at line 8
468+
expected a table key, found a newline at line 8 column 23
469469
",
470470
)
471471
.run();

tests/testsuite/build.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ Caused by:
188188
could not parse input as TOML
189189
190190
Caused by:
191-
invalid number at line 3
191+
invalid number at line 3 column 19
192192
",
193193
)
194194
.run();
@@ -208,7 +208,7 @@ Caused by:
208208
could not parse input as TOML
209209
210210
Caused by:
211-
invalid number at line 1
211+
invalid number at line 1 column 5
212212
",
213213
)
214214
.run();
@@ -2274,7 +2274,7 @@ Caused by:
22742274
could not parse input as TOML
22752275
22762276
Caused by:
2277-
expected an equals, found an identifier at line 1
2277+
expected an equals, found an identifier at line 1 column 6
22782278
",
22792279
)
22802280
.run();

tests/testsuite/config.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ Caused by:
439439
Caused by:
440440
could not parse input as TOML
441441
Caused by:
442-
expected an equals, found eof at line 1",
442+
expected an equals, found eof at line 1 column 5",
443443
);
444444
}
445445

@@ -517,7 +517,7 @@ expected a list, but found a integer for `l3` in [..]/.cargo/config",
517517
assert_error(
518518
config.get::<L>("bad-env").unwrap_err(),
519519
"error in environment variable `CARGO_BAD_ENV`: \
520-
could not parse TOML list: invalid number at line 1",
520+
could not parse TOML list: invalid number at line 1 column 10",
521521
);
522522

523523
// Try some other sequence-like types.

tests/testsuite/git.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2439,7 +2439,7 @@ fn invalid_git_dependency_manifest() {
24392439
could not parse input as TOML\n\
24402440
\n\
24412441
Caused by:\n \
2442-
duplicate key: `categories` for key `project`",
2442+
duplicate key: `categories` for key `project` at line 10 column 17",
24432443
path2url(&git_root),
24442444
path2url(&git_root),
24452445
))

tests/testsuite/workspaces.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@ failed to parse manifest at `[..]foo/Cargo.toml`
10011001
Caused by:
10021002
could not parse input as TOML
10031003
Caused by:
1004-
expected an equals, found eof at line 1
1004+
expected an equals, found eof at line 1 column 5
10051005
Created binary (application) `bar` package
10061006
",
10071007
)

0 commit comments

Comments
 (0)