aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/pinned_drop/call-drop-inner.stderr
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2020-11-18 15:37:31 -0800
committerHaibo Huang <hhb@google.com>2020-11-18 15:37:31 -0800
commit6c94c6bafeee5322a4502f48fd53bf0269f144cc (patch)
tree62e1173064643de076d5710596b3cd6d390f4d00 /tests/ui/pinned_drop/call-drop-inner.stderr
parentcd6b1713c13e53065c66512d3ba0a578bbf22830 (diff)
downloadpin-project-6c94c6bafeee5322a4502f48fd53bf0269f144cc.tar.gz
Upgrade rust/crates/pin-project to 1.0.2
Test: make Change-Id: Ia85e48e7fd669c568d9abc6a68934b8cfdb13f09
Diffstat (limited to 'tests/ui/pinned_drop/call-drop-inner.stderr')
-rw-r--r--tests/ui/pinned_drop/call-drop-inner.stderr10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/ui/pinned_drop/call-drop-inner.stderr b/tests/ui/pinned_drop/call-drop-inner.stderr
index eb55ce7..53194b0 100644
--- a/tests/ui/pinned_drop/call-drop-inner.stderr
+++ b/tests/ui/pinned_drop/call-drop-inner.stderr
@@ -1,10 +1,14 @@
error[E0061]: this function takes 0 arguments but 1 argument was supplied
--> $DIR/call-drop-inner.rs:12:9
|
-9 | #[pinned_drop]
- | -------------- defined here
-...
12 | __drop_inner(__self);
| ^^^^^^^^^^^^ ------ supplied 1 argument
| |
| expected 0 arguments
+ |
+note: function defined here
+ --> $DIR/call-drop-inner.rs:9:1
+ |
+9 | #[pinned_drop]
+ | ^^^^^^^^^^^^^^
+ = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)