Update trybuild to get better normalization (#9444)

The old `trybuild` version didn't normalized cargo registry paths, but
this is now done :)
This commit is contained in:
Bastian Köcher
2021-07-27 13:01:28 +02:00
committed by GitHub
parent ca3ee2e2a5
commit 9c173724fa
7 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ frame-support = { version = "4.0.0-dev", default-features = false, path = "../"
sp-runtime = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/runtime" }
sp-core = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/core" }
sp-std = { version = "4.0.0-dev", default-features = false, path = "../../../primitives/std" }
trybuild = "1.0.42"
trybuild = "1.0.43"
pretty_assertions = "0.6.1"
rustversion = "1.0.0"
frame-metadata = { version = "14.0.0-dev", default-features = false, path = "../../metadata" }
@@ -33,9 +33,9 @@ error[E0277]: the trait bound `<T as pallet::Config>::Bar: WrapperTypeEncode` is
20 | pub fn foo(origin: OriginFor<T>, bar: T::Bar) -> DispatchResultWithPostInfo {
| ^ the trait `WrapperTypeEncode` is not implemented for `<T as pallet::Config>::Bar`
|
::: /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/parity-scale-codec-2.2.0/src/codec.rs:223:21
::: $CARGO/parity-scale-codec-2.2.0/src/codec.rs
|
223 | fn encode_to<T: Output + ?Sized>(&self, dest: &mut T) {
| fn encode_to<T: Output + ?Sized>(&self, dest: &mut T) {
| ------ required by this bound in `encode_to`
|
= note: required because of the requirements on the impl of `pallet::_::_parity_scale_codec::Encode` for `<T as pallet::Config>::Bar`
@@ -46,9 +46,9 @@ error[E0277]: the trait bound `<T as pallet::Config>::Bar: WrapperTypeDecode` is
20 | pub fn foo(origin: OriginFor<T>, bar: T::Bar) -> DispatchResultWithPostInfo {
| ^ the trait `WrapperTypeDecode` is not implemented for `<T as pallet::Config>::Bar`
|
::: /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/parity-scale-codec-2.2.0/src/codec.rs:284:18
::: $CARGO/parity-scale-codec-2.2.0/src/codec.rs
|
284 | fn decode<I: Input>(input: &mut I) -> Result<Self, Error>;
| fn decode<I: Input>(input: &mut I) -> Result<Self, Error>;
| ----- required by this bound in `pallet::_::_parity_scale_codec::Decode::decode`
|
= note: required because of the requirements on the impl of `Decode` for `<T as pallet::Config>::Bar`