slightlyoutofphase/staticvec

Doesn't compile on latest nightly

ohmyarch opened this issue · 1 comments

error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants
   --> /home/user/.cargo/registry/src/github.com-xxxx/staticvec-0.10.8/src/lib.rs:771:5
    |
771 |     self.mut_ptr_at_unchecked(length).write(value);
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The rustc codebase reversion that was causing this issue has been un-reverted now, so the most recent nightly should be able to compile the crate successfully.