error[E0080]: evaluation panicked: amount!(""): not a decimal amount (expected -?[0-9]+(.[0-9]+)?)
--> tests/ui/amount_empty.rs:2:34
|
2 | let _: doubleentry::Amount = doubleentry::amount!("");
| ^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `main::{constant#0}` failed here
|
= note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `doubleentry::amount` (in Nightly builds, run with -Z macro-backtrace for more info)
note: erroneous constant encountered
--> tests/ui/amount_empty.rs:2:34
|
2 | let _: doubleentry::Amount = doubleentry::amount!("");
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this note originates in the macro `doubleentry::amount` (in Nightly builds, run with -Z macro-backtrace for more info)