roc-lang / roc

A fast, friendly, functional language.
https://roc-lang.org
Universal Permissive License v1.0
3.86k stars 284 forks source link

Developer docs generation is broken on the main branch #6856

Open r-bar opened 2 days ago

r-bar commented 2 days ago

Developer docs generation is broken on the main branch.

$ cargo doc
error[E0277]: the trait bound `[T; N]: Array` is not satisfied
   --> /home/ryan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/smallvec-1.11.1/src/lib.rs:688:25
    |
688 | impl<T, const N: usize> SmallVecData<[T; N]> {
    |                         ^^^^^^^^^^^^^^^^^^^^ the trait `Array` is not implemented for `[T; N]`
    |
    = help: the following other types implement trait `Array`:
              [T; 0]
              [T; 1]
              [T; 2]
              [T; 3]
              [T; 4]
              [T; 5]
              [T; 6]
              [T; 7]
            and 45 others
note: required by a bound in `SmallVecData`
   --> /home/ryan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/smallvec-1.11.1/src/lib.rs:674:22
    |
674 | enum SmallVecData<A: Array> {
    |                      ^^^^^ required by this bound in `SmallVecData`