Skip to content

Commit

Permalink
Work around overflow evaluating the requirement in Nightly rustdoc
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
SimonSapin committed Jul 5, 2019
1 parent 980c1f3 commit b120455
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "synstructure"
version = "0.10.2"
version = "0.10.3"
authors = ["Nika Layzell <nika@thelayzells.com>"]

description = "Helper methods and macros for custom derives"
Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@
//! For more example usage, consider investigating the `abomonation_derive` crate,
//! which makes use of this crate, and is fairly simple.

#![recursion_limit="128"]

extern crate proc_macro;
extern crate proc_macro2;
#[macro_use]
Expand Down
4 changes: 4 additions & 0 deletions test_traits/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ authors = ["Nika Layzell <nika@thelayzells.com>"]

[lib]
path = "lib.rs"

[dependencies]
# To trigger https://github.com/rust-lang/rust/issues/62132
syn = { version = "0.15", features = ["full"] }

0 comments on commit b120455

Please sign in to comment.