Visitar URL original
Fix build error of tests on MSRV · taiki-e/pin-project@c56c412 · GitHub
Skip to content

Commit c56c412

Browse files
committed
Fix build error of tests on MSRV
1 parent 4dec1d2 commit c56c412

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

‎Cargo.toml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,12 @@ pin-project-internal = { version = "=0.4.29", path = "pin-project-internal", def
3232
[dev-dependencies]
3333
pin-project-auxiliary-macro = { path = "tests/ui/auxiliary" }
3434
rustversion = "1.0"
35-
trybuild = "1.0"
35+
trybuild = "=1.0.53"
3636

3737
# For test on MSRV.
3838
ryu = "=1.0.6"
3939
serde_json = "=1.0.72"
40+
toml = "=0.5.8"
41+
42+
[patch.crates-io]
43+
prettyplease = { git = "https://github.com/taiki-e/prettyplease.git", rev = "9f9e8ff07baf63d53cd28977be60ac6991805861" } # lower MSRV

‎tests/expand/Cargo.toml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,8 @@ publish = false
88

99
[dev-dependencies]
1010
pin-project = { path = "../.." }
11-
macrotest = "1.0.2"
11+
macrotest = "1.0.9"
12+
prettyplease = "=0.1.15"
13+
14+
# For test on MSRV.
15+
diff = "=0.1.12"

0 commit comments

Comments
 (0)