diff options
Diffstat (limited to 'third_party/rust/pin-project-lite/tests/ui/conflict-drop.stderr')
-rw-r--r-- | third_party/rust/pin-project-lite/tests/ui/conflict-drop.stderr | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/third_party/rust/pin-project-lite/tests/ui/conflict-drop.stderr b/third_party/rust/pin-project-lite/tests/ui/conflict-drop.stderr new file mode 100644 index 0000000000..6679d3d244 --- /dev/null +++ b/third_party/rust/pin-project-lite/tests/ui/conflict-drop.stderr @@ -0,0 +1,16 @@ +error[E0119]: conflicting implementations of trait `_::MustNotImplDrop` for type `Foo<_, _>`: + --> $DIR/conflict-drop.rs:3:1 + | +3 | / pin_project! { //~ ERROR E0119 +4 | | struct Foo<T, U> { +5 | | #[pin] +6 | | future: T, +7 | | field: U, +8 | | } +9 | | } + | | ^ + | | | + | |_first implementation here + | conflicting implementation for `Foo<_, _>` + | + = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) |