einstellung_derive 0.1.6

Proc-Macro crate for einstellung
Documentation
error[E0593]: function is expected to take 0 arguments, but it takes 1 argument
 --> src/trybuild_tests/default_function_signature_mismatch.rs
  |
  | pub fn provide_default_port(_env: &str) -> u16 {
  | ---------------------------------------------- takes 1 argument
...
  | #[derive(Config)]
  |          ------ required by a bound introduced by this call
  | struct ServerConfig {
  |     #[config(default = provide_default_port())]
  |                        ^^^^^^^^^^^^^^^^^^^^ expected function that takes 0 arguments
  |
note: required by a bound in `std::option::Option::<T>::unwrap_or_else`
 --> $RUST/core/src/option.rs
  |
  |     pub const fn unwrap_or_else<F>(self, f: F) -> T
  |                  -------------- required by a bound in this associated function
  |     where
  |         F: [const] FnOnce() -> T + [const] Destruct,
  |            ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Option::<T>::unwrap_or_else`