aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2021-02-13 23:31:24 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-13 23:31:24 +0000
commit159bd6635ed11acc1c131b989984cdeecc3e74b9 (patch)
tree9cf2c15dcd46bd8e36464e6104cd3d21a8265b85
parent798d0a478e0aceb59409fca4760aeb79fce97ffe (diff)
parent598e367f431ad0beaebbbbb5d2384a378f4a74d2 (diff)
downloadquote-159bd6635ed11acc1c131b989984cdeecc3e74b9.tar.gz
Upgrade rust/crates/quote to 1.0.9 am: 4f7803731e am: 2d8a4df997 am: 598e367f43
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/quote/+/1586387 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ie4ef819fda3c8b1704700def4cd79bdfaafeb2ce
-rw-r--r--.cargo_vcs_info.json2
-rw-r--r--Cargo.toml2
-rw-r--r--Cargo.toml.orig2
-rw-r--r--METADATA10
-rw-r--r--TEST_MAPPING63
-rw-r--r--src/lib.rs9
6 files changed, 59 insertions, 29 deletions
diff --git a/.cargo_vcs_info.json b/.cargo_vcs_info.json
index 0471c91..e15e24e 100644
--- a/.cargo_vcs_info.json
+++ b/.cargo_vcs_info.json
@@ -1,5 +1,5 @@
{
"git": {
- "sha1": "8294929b39387e6eab18173fef7d28f66071e973"
+ "sha1": "68ebadbc1b4242531c5a78fbba01c648bd58c8e7"
}
}
diff --git a/Cargo.toml b/Cargo.toml
index 8311673..411f943 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,7 +13,7 @@
[package]
edition = "2018"
name = "quote"
-version = "1.0.8"
+version = "1.0.9"
authors = ["David Tolnay <dtolnay@gmail.com>"]
include = ["Cargo.toml", "src/**/*.rs", "tests/**/*.rs", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
description = "Quasi-quoting macro quote!(...)"
diff --git a/Cargo.toml.orig b/Cargo.toml.orig
index 4b4a185..b95c6c5 100644
--- a/Cargo.toml.orig
+++ b/Cargo.toml.orig
@@ -1,6 +1,6 @@
[package]
name = "quote"
-version = "1.0.8" # don't forget to update html_root_url, version in readme for breaking changes
+version = "1.0.9" # don't forget to update html_root_url, version in readme for breaking changes
authors = ["David Tolnay <dtolnay@gmail.com>"]
license = "MIT OR Apache-2.0"
description = "Quasi-quoting macro quote!(...)"
diff --git a/METADATA b/METADATA
index 54872cc..ee587f2 100644
--- a/METADATA
+++ b/METADATA
@@ -7,13 +7,13 @@ third_party {
}
url {
type: ARCHIVE
- value: "https://static.crates.io/crates/quote/quote-1.0.8.crate"
+ value: "https://static.crates.io/crates/quote/quote-1.0.9.crate"
}
- version: "1.0.8"
+ version: "1.0.9"
license_type: NOTICE
last_upgrade_date {
- year: 2020
- month: 12
- day: 22
+ year: 2021
+ month: 2
+ day: 12
}
}
diff --git a/TEST_MAPPING b/TEST_MAPPING
index 7f523cc..a1620b5 100644
--- a/TEST_MAPPING
+++ b/TEST_MAPPING
@@ -1,43 +1,68 @@
-// Generated by cargo2android.py for tests in Android.bp
+// Generated by update_crate_tests.py for tests that depend on this crate.
{
"presubmit": [
{
- "host": true,
- "name": "pin-project-internal_host_test_src_lib"
+ "name": "url_device_test_src_lib"
},
{
- "host": true,
- "name": "futures-util_host_test_src_lib"
+ "name": "anyhow_device_test_tests_test_downcast"
},
{
- "name": "futures-util_device_test_src_lib"
+ "name": "anyhow_device_test_tests_test_repr"
},
{
- "host": true,
- "name": "proc-macro2_host_test_src_lib"
+ "name": "keystore2_selinux_test"
},
{
- "host": true,
- "name": "structopt-derive_host_test_src_lib"
+ "name": "anyhow_device_test_tests_test_fmt"
},
{
- "host": true,
- "name": "tokio-macros_host_test_src_lib"
+ "name": "libm_device_test_src_lib"
},
{
- "host": true,
- "name": "proc-macro-error-attr_host_test_src_lib"
+ "name": "anyhow_device_test_tests_test_convert"
},
{
- "host": true,
- "name": "libsqlite3-sys_host_test_src_lib"
+ "name": "libsqlite3-sys_device_test_src_lib"
},
{
- "name": "libsqlite3-sys_device_test_src_lib"
+ "name": "anyhow_device_test_tests_test_source"
+ },
+ {
+ "name": "unicode-bidi_device_test_src_lib"
+ },
+ {
+ "name": "anyhow_device_test_src_lib"
+ },
+ {
+ "name": "anyhow_device_test_tests_test_autotrait"
+ },
+ {
+ "name": "anyhow_device_test_tests_test_context"
+ },
+ {
+ "name": "anyhow_device_test_tests_test_macros"
+ },
+ {
+ "name": "anyhow_device_test_tests_test_chain"
+ },
+ {
+ "name": "anyhow_device_test_tests_test_ffi"
+ },
+ {
+ "name": "serde_test_device_test_src_lib"
+ },
+ {
+ "name": "futures-util_device_test_src_lib"
+ },
+ {
+ "name": "keystore2_test"
+ },
+ {
+ "name": "anyhow_device_test_tests_test_boxed"
},
{
- "host": true,
- "name": "syn-mid_host_test_src_lib"
+ "name": "keystore2_crypto_test_rust"
}
]
}
diff --git a/src/lib.rs b/src/lib.rs
index fb09b5d..356e43a 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -80,9 +80,14 @@
//! };
//! ```
-#![forbid(unsafe_code)]
// Quote types in rustdoc of other crates get linked to here.
-#![doc(html_root_url = "https://docs.rs/quote/1.0.8")]
+#![doc(html_root_url = "https://docs.rs/quote/1.0.9")]
+#![allow(
+ clippy::doc_markdown,
+ clippy::missing_errors_doc,
+ clippy::missing_panics_doc,
+ clippy::module_name_repetitions
+)]
#[cfg(all(
not(all(target_arch = "wasm32", target_os = "unknown")),