difftreelog
fix custom_signature_over_max_size.stderr
in: master
1 file changed
crates/evm-coder/tests/build_failed/custom_signature_over_max_size.stderrdiffbeforeafterboth6 |6 |7 = note: `#[warn(unused_imports)]` on by default7 = note: `#[warn(unused_imports)]` on by default889error: any use of this value will cause an error9error[E0080]: evaluation of `<std::vec::Vec<MaxSize> as Name>::SIGNATURE` failed10 --> tests/build_failed/custom_signature_over_max_size.rs:19:310 --> tests/build_failed/custom_signature_over_max_size.rs:19:311 |11 |1218 | const SIGNATURE: SignatureUnit =13 | ------------------------------1419 | evm_coder::make_signature!(new nameof(T::SIGNATURE) fixed("[]"));1219 | evm_coder::make_signature!(new nameof(T::SIGNATURE) fixed("[]"));15 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ index out of bounds: the length is 256 but the index is 25613 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ index out of bounds: the length is 256 but the index is 25616 |14 |17 = note: `#[deny(const_err)]` on by default18 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!19 = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>20 = 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)15 = 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)211622error: any use of this value will cause an error17error[E0080]: evaluation of constant value failed23 --> tests/build_failed/custom_signature_over_max_size.rs:30:2918 --> tests/build_failed/custom_signature_over_max_size.rs:30:2924 |19 |2530 | const NAME: SignatureUnit = <Vec<MaxSize>>::SIGNATURE;2030 | const NAME: SignatureUnit = <Vec<MaxSize>>::SIGNATURE;26 | ------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ referenced constant has errors21 | ^^^^^^^^^^^^^^^^^^^^^^^^^ referenced constant has errors27 |28 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!29 = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>3022