aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/zerosized.stderr
blob: 2443140ef76d41ae6d9ee6f93134770c678b1723 (plain)
1
2
3
4
5
6
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)