aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/zerosized.stderr
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-06-01 18:33:00 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-06-01 18:33:00 +0000
commita1d0e5dd7ba462eb795a3d7bf137bd101c33cb50 (patch)
treec152abda73624cb4a77225f0682f01b33a76be30 /tests/ui/zerosized.stderr
parenteef466dd058ab69a4edff26d5ba602918dc8b071 (diff)
parent59f583acb42bd0e84a0bbffe21cd5a7f3d94ae15 (diff)
downloadlinkme-a1d0e5dd7ba462eb795a3d7bf137bd101c33cb50.tar.gz
Initial import am: 2970041c34 am: 59f583acb4
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/linkme/+/2607228 Change-Id: Ib62a448739719b3bffc03695b1c8cc25203e45c4 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'tests/ui/zerosized.stderr')
-rw-r--r--tests/ui/zerosized.stderr7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui/zerosized.stderr b/tests/ui/zerosized.stderr
new file mode 100644
index 0000000..2443140
--- /dev/null
+++ b/tests/ui/zerosized.stderr
@@ -0,0 +1,7 @@
+error[E0080]: could not evaluate static initializer
+ --> tests/ui/zerosized.rs:7:1
+ |
+7 | #[distributed_slice]
+ | ^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'assertion failed: ::linkme::__private::mem::size_of::<<[Unit] as\n ::linkme::__private::Slice>::Element>() > 0', $DIR/tests/ui/zerosized.rs:7:1
+ |
+ = note: this error originates in the macro `::linkme::__private::assert` (in Nightly builds, run with -Z macro-backtrace for more info)