--- a/crates/evm-coder/tests/build_failed/custom_signature_over_max_size.stderr +++ b/crates/evm-coder/tests/build_failed/custom_signature_over_max_size.stderr @@ -6,24 +6,16 @@ | = note: `#[warn(unused_imports)]` on by default -error: any use of this value will cause an error +error[E0080]: evaluation of ` as Name>::SIGNATURE` failed --> tests/build_failed/custom_signature_over_max_size.rs:19:3 | -18 | const SIGNATURE: SignatureUnit = - | ------------------------------ 19 | evm_coder::make_signature!(new nameof(T::SIGNATURE) fixed("[]")); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ index out of bounds: the length is 256 but the index is 256 | - = note: `#[deny(const_err)]` on by default - = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #71800 = note: this error originates in the macro `$crate::make_signature` which comes from the expansion of the macro `evm_coder::make_signature` (in Nightly builds, run with -Z macro-backtrace for more info) -error: any use of this value will cause an error +error[E0080]: evaluation of constant value failed --> tests/build_failed/custom_signature_over_max_size.rs:30:29 | 30 | const NAME: SignatureUnit = >::SIGNATURE; - | ------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ referenced constant has errors - | - = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! - = note: for more information, see issue #71800 + | ^^^^^^^^^^^^^^^^^^^^^^^^^ referenced constant has errors