diff --git a/Cargo.lock b/Cargo.lock
index 59734f77c34be675dc0064d2c559a50a9a26cae7..3ad73feb5d59f8065893b09a74de81bf286c8b63 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1371,9 +1371,9 @@ checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b"
 
 [[package]]
 name = "basic-toml"
-version = "0.1.4"
+version = "0.1.8"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7bfc506e7a2370ec239e1d072507b2a80c833083699d3c6fa176fbb4de8448c6"
+checksum = "2db21524cad41c5591204d22d75e1970a2d1f71060214ca931dc7d5afe2c14e5"
 dependencies = [
  "serde",
 ]
@@ -20661,9 +20661,9 @@ dependencies = [
 
 [[package]]
 name = "trybuild"
-version = "1.0.83"
+version = "1.0.88"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6df60d81823ed9c520ee897489573da4b1d79ffbe006b8134f46de1a1aa03555"
+checksum = "76de4f783e610194f6c98bfd53f9fc52bb2e0d02c947621e8a0f4ecc799b2880"
 dependencies = [
  "basic-toml",
  "dissimilar",
diff --git a/polkadot/xcm/procedural/Cargo.toml b/polkadot/xcm/procedural/Cargo.toml
index 74990f873abcc04c15199271216e47ae56dd85d5..e88f4b0c846c10b0378f66de1a25f01ee8d17abb 100644
--- a/polkadot/xcm/procedural/Cargo.toml
+++ b/polkadot/xcm/procedural/Cargo.toml
@@ -20,5 +20,5 @@ syn = "2.0.48"
 Inflector = "0.11.4"
 
 [dev-dependencies]
-trybuild = { version = "1.0.74", features = ["diff"] }
+trybuild = { version = "1.0.88", features = ["diff"] }
 xcm = { package = "staging-xcm", path = ".." }
diff --git a/substrate/frame/election-provider-support/solution-type/Cargo.toml b/substrate/frame/election-provider-support/solution-type/Cargo.toml
index 04400147790f82b184f694b81fa6c9fac6598057..508c049e490c3acf026390b1f14c8d3b1009f96d 100644
--- a/substrate/frame/election-provider-support/solution-type/Cargo.toml
+++ b/substrate/frame/election-provider-support/solution-type/Cargo.toml
@@ -30,4 +30,4 @@ sp-arithmetic = { path = "../../../primitives/arithmetic" }
 # used by generate_solution_type:
 frame-election-provider-support = { path = ".." }
 frame-support = { path = "../../support" }
-trybuild = "1.0.74"
+trybuild = "1.0.88"
diff --git a/substrate/frame/support/test/Cargo.toml b/substrate/frame/support/test/Cargo.toml
index eac2dafbf00cc199fcc45ecc564eacb06a5a9632..8b61f25f569aa51d3ac221f15d7f3ffc156b6739 100644
--- a/substrate/frame/support/test/Cargo.toml
+++ b/substrate/frame/support/test/Cargo.toml
@@ -31,7 +31,7 @@ sp-core = { path = "../../../primitives/core", default-features = false }
 sp-std = { path = "../../../primitives/std", default-features = false }
 sp-version = { path = "../../../primitives/version", default-features = false }
 sp-metadata-ir = { path = "../../../primitives/metadata-ir", default-features = false }
-trybuild = { version = "1.0.74", features = ["diff"] }
+trybuild = { version = "1.0.88", features = ["diff"] }
 pretty_assertions = "1.3.0"
 rustversion = "1.0.6"
 frame-system = { path = "../../system", default-features = false }
diff --git a/substrate/primitives/api/test/Cargo.toml b/substrate/primitives/api/test/Cargo.toml
index 0346ad270ab03f9040d55dc4621ec47a58659398..b0975082c44ecde816cfc332c940dfbd1783b04b 100644
--- a/substrate/primitives/api/test/Cargo.toml
+++ b/substrate/primitives/api/test/Cargo.toml
@@ -24,7 +24,7 @@ sp-consensus = { path = "../../consensus/common" }
 sc-block-builder = { path = "../../../client/block-builder" }
 codec = { package = "parity-scale-codec", version = "3.6.1" }
 sp-state-machine = { path = "../../state-machine" }
-trybuild = "1.0.74"
+trybuild = "1.0.88"
 rustversion = "1.0.6"
 scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
 
diff --git a/substrate/primitives/runtime-interface/Cargo.toml b/substrate/primitives/runtime-interface/Cargo.toml
index a4c8457b598efa713c1b7a6a2444cd8e16edeacc..0fa2d1f3276cfa01ca3ec3905ac12ba7ebd8bd49 100644
--- a/substrate/primitives/runtime-interface/Cargo.toml
+++ b/substrate/primitives/runtime-interface/Cargo.toml
@@ -35,7 +35,7 @@ sp-state-machine = { path = "../state-machine" }
 sp-core = { path = "../core" }
 sp-io = { path = "../io" }
 rustversion = "1.0.6"
-trybuild = "1.0.74"
+trybuild = "1.0.88"
 
 [features]
 default = ["std"]
diff --git a/substrate/test-utils/Cargo.toml b/substrate/test-utils/Cargo.toml
index 526ed7c049c708c257cb22fc44efb1dc7d6fe43b..af8b01cdef087396a36ccd2b5c14f9c9640443c4 100644
--- a/substrate/test-utils/Cargo.toml
+++ b/substrate/test-utils/Cargo.toml
@@ -20,5 +20,5 @@ futures = "0.3.16"
 tokio = { version = "1.22.0", features = ["macros", "time"] }
 
 [dev-dependencies]
-trybuild = { version = "1.0.74", features = ["diff"] }
+trybuild = { version = "1.0.88", features = ["diff"] }
 sc-service = { path = "../client/service" }