diff options
author | Alex Crichton <alex@alexcrichton.com> | 2019-05-09 06:49:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-09 06:49:11 -0700 |
commit | e887edc70f0341cfbf37f646b6213d6fb6e00439 (patch) | |
tree | 63e2a9104a1c0ed297edd2ae41bd4536fde2ce0d /test-suite/tests/macros.rs | |
parent | 320464be3b014deaaf9387583862b1d4a69d89f8 (diff) | |
parent | 0fca4dd2d30a2044af454cf55211e67cf76f333c (diff) | |
download | milf-rs-e887edc70f0341cfbf37f646b6213d6fb6e00439.tar.gz milf-rs-e887edc70f0341cfbf37f646b6213d6fb6e00439.zip |
Merge pull request #308 from ehuss/edition-2018
Migrate to 2018 edition
Diffstat (limited to 'test-suite/tests/macros.rs')
-rw-r--r-- | test-suite/tests/macros.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test-suite/tests/macros.rs b/test-suite/tests/macros.rs index 35bf186..20831a0 100644 --- a/test-suite/tests/macros.rs +++ b/test-suite/tests/macros.rs @@ -7,6 +7,8 @@ use std::f64; macro_rules! table { ($($key:expr => $value:expr,)*) => {{ + // https://github.com/rust-lang/rust/issues/60643 + #[allow(unused_mut)] let mut table = toml::value::Table::new(); $( table.insert($key.to_string(), $value.into()); @@ -17,6 +19,8 @@ macro_rules! table { macro_rules! array { ($($element:expr,)*) => {{ + // https://github.com/rust-lang/rust/issues/60643 + #[allow(unused_mut)] let mut array = toml::value::Array::new(); $( array.push($element.into()); |