inventory 0.3.21

Typed distributed plugin registration
Documentation
1
2
3
4
5
6
7
8
error[E0015]: cannot call non-const associated function `Thing::new` in statics
  --> tests/ui/submit-nonconst.rs:11:20
   |
11 | inventory::submit!(Thing::new());
   |                    ^^^^^^^^^^^^
   |
   = note: calls in statics are limited to constant functions, tuple structs and tuple variants
   = note: consider wrapping this expression in `std::sync::LazyLock::new(|| ...)`