From bb66e0fd7e12865b196a2fc8bf3b0a3152ef6652 Mon Sep 17 00:00:00 2001 From: bors Date: Mon, 12 Oct 2020 18:49:55 +0000 Subject: [PATCH] Auto merge of #8772 - ehuss:update-toml, r=alexcrichton Update toml dependency --- Cargo.toml | 2 +- tests/testsuite/build.rs | 4 ++-- tests/testsuite/config.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a36245c86ee..0ee08906038 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -60,7 +60,7 @@ strip-ansi-escapes = "0.1.0" tar = { version = "0.4.26", default-features = false } tempfile = "3.0" termcolor = "1.1" -toml = "0.5.3" +toml = "0.5.7" unicode-xid = "0.2.0" url = "2.0" walkdir = "2.2" diff --git a/tests/testsuite/build.rs b/tests/testsuite/build.rs index ac556520ab8..268ddbdf36f 100644 --- a/tests/testsuite/build.rs +++ b/tests/testsuite/build.rs @@ -196,7 +196,7 @@ Caused by: could not parse input as TOML Caused by: - invalid number at line 3 column 23 + invalid TOML value, did you mean to use a quoted string? at line 3 column 23 ", ) .run(); @@ -216,7 +216,7 @@ Caused by: could not parse input as TOML Caused by: - invalid number at line 1 column 5 + invalid TOML value, did you mean to use a quoted string? at line 1 column 5 ", ) .run(); diff --git a/tests/testsuite/config.rs b/tests/testsuite/config.rs index aa6976910df..0723d3cad97 100644 --- a/tests/testsuite/config.rs +++ b/tests/testsuite/config.rs @@ -794,7 +794,7 @@ expected a list, but found a integer for `l3` in [..]/.cargo/config", assert_error( config.get::("bad-env").unwrap_err(), "error in environment variable `CARGO_BAD_ENV`: \ - could not parse TOML list: invalid number at line 1 column 8", + could not parse TOML list: invalid TOML value, did you mean to use a quoted string? at line 1 column 8", ); // Try some other sequence-like types.