Skip to content

Commit 30bdf9e

Browse files
committed
Work around overflow evaluating the requirement in Nightly rustdoc
See rust-lang/rust#62132 and rust-lang/rust#62059 The fix in rustdoc is at the “investigating the feasibility” stage, and this is preventing Servo from upgrading its Rust toolchain.
1 parent 980c1f3 commit 30bdf9e

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "synstructure"
3-
version = "0.10.2"
3+
version = "0.10.3"
44
authors = ["Nika Layzell <[email protected]>"]
55

66
description = "Helper methods and macros for custom derives"

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@
159159
//! For more example usage, consider investigating the `abomonation_derive` crate,
160160
//! which makes use of this crate, and is fairly simple.
161161
162+
// https://github.com/rust-lang/rust/issues/62132
163+
#![recursion_limit="128"]
164+
162165
extern crate proc_macro;
163166
extern crate proc_macro2;
164167
#[macro_use]

test_traits/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ authors = ["Nika Layzell <[email protected]>"]
88

99
[lib]
1010
path = "lib.rs"
11+
12+
[dependencies]
13+
# To trigger https://github.com/rust-lang/rust/issues/62132
14+
syn = { version = "0.15", features = ["full"] }

0 commit comments

Comments
 (0)