aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/pin_project/add-pinned-field.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/pin_project/add-pinned-field.stderr')
-rw-r--r--tests/ui/pin_project/add-pinned-field.stderr19
1 files changed, 17 insertions, 2 deletions
diff --git a/tests/ui/pin_project/add-pinned-field.stderr b/tests/ui/pin_project/add-pinned-field.stderr
index a391f3b..bdeafb8 100644
--- a/tests/ui/pin_project/add-pinned-field.stderr
+++ b/tests/ui/pin_project/add-pinned-field.stderr
@@ -13,7 +13,15 @@ note: required because it appears within the type `__Foo<'_>`
|
8 | struct Foo {
| ^^^
- = note: required because of the requirements on the impl of `Unpin` for `Foo`
+note: required because of the requirements on the impl of `Unpin` for `Foo`
+ --> $DIR/add-pinned-field.rs:6:1
+ |
+6 | #[pin_project]
+ | ^^^^^^^^^^^^^^
+7 | #[add_pinned_field]
+8 | struct Foo {
+ | ^^^
+ = note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: `PhantomPinned` cannot be unpinned
--> $DIR/add-pinned-field.rs:22:5
@@ -30,4 +38,11 @@ note: required because it appears within the type `__Bar<'_>`
|
15 | struct Bar {
| ^^^
- = note: required because of the requirements on the impl of `Unpin` for `Bar`
+note: required because of the requirements on the impl of `Unpin` for `Bar`
+ --> $DIR/add-pinned-field.rs:14:1
+ |
+14 | #[pin_project]
+ | ^^^^^^^^^^^^^^
+15 | struct Bar {
+ | ^^^
+ = note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)