aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/unexpected-modifier.rs
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2020-07-28 00:54:38 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-07-28 00:54:38 +0000
commitaaf0c3e86da5b57582f4f547b95bc2fc6d380a61 (patch)
tree75f1ad89d6cebfb3f52ca64b4bdefb8c004c2453 /tests/ui/unexpected-modifier.rs
parentb975ee4b105928399b5a3ee4ce9039442e566c58 (diff)
parente4ed7fa7ff44003a777fbc882bac61f95007dc18 (diff)
downloadpaste-aaf0c3e86da5b57582f4f547b95bc2fc6d380a61.tar.gz
Upgrade rust/crates/paste to 1.0.0 am: 4117715894 am: ffccca4fd9 am: e4ed7fa7ff
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/paste/+/1372673 Change-Id: I1672e3875d54a88b9db186e1375d9f7f3f2a9be5
Diffstat (limited to 'tests/ui/unexpected-modifier.rs')
-rw-r--r--tests/ui/unexpected-modifier.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ui/unexpected-modifier.rs b/tests/ui/unexpected-modifier.rs
index 00a1e99..99fe68f 100644
--- a/tests/ui/unexpected-modifier.rs
+++ b/tests/ui/unexpected-modifier.rs
@@ -1,4 +1,6 @@
-paste::item! {
+use paste::paste;
+
+paste! {
fn [<:lower x>]() {}
}