hadronized / luminance-rs

Type-safe, type-level and stateless Rust graphics framework
https://phaazon.github.io/learn-luminance/
Other
1.09k stars 59 forks source link

luminance 0.46.1 needs unpublished luminance-derive #597

Closed kpreid closed 2 years ago

kpreid commented 2 years ago
error[E0438]: const `ATTR_COUNT` is not a member of trait `luminance::vertex::Vertex`
   --> /home/runner/work/all-is-cubes/all-is-cubes/all-is-cubes-gpu/src/in_luminance/types.rs:134:41
    |
134 | #[derive(Clone, Copy, Debug, PartialEq, Vertex)]
    |                                         ^^^^^^ not a member of trait `luminance::vertex::Vertex`
    |
    = note: this error originates in the derive macro `Vertex` (in Nightly builds, run with -Z macro-backtrace for more info)

This is with luminance v0.46.1 and luminance-derive v0.9.0. It looks like commit ef7417c3ea1468d38ed4159b71f0790ded1ec499 was included in the latest luminance version but there's no matching luminance-derive commit.

hadronized commented 2 years ago

Thank you. Done.