diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2021-06-30 00:13:34 -0400 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2021-07-01 19:39:47 -0400 |
| commit | 33acc960f78cfde092a4e720c01896fbff86cdc8 (patch) | |
| tree | 7b87f695dea2913d8cc6bfdfc6c0880a403c59d6 /src | |
| parent | 0b8a26f5078d67923794956f3a502a5f5bb76e60 (diff) | |
| download | rust-33acc960f78cfde092a4e720c01896fbff86cdc8.tar.gz rust-33acc960f78cfde092a4e720c01896fbff86cdc8.zip | |
Document rustfmt on nightly-rustc
The recursion_limit attribute avoids the following error: ``` error[E0275]: overflow evaluating the requirement `std::ptr::Unique<rustc_ast::Pat>: std::marker::Send` | = help: consider adding a `#![recursion_limit="256"]` attribute to your crate (`rustfmt_nightly`) ```
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs index cde5d390cf2..ce8a45eea65 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,7 @@ #![feature(rustc_private)] #![deny(rust_2018_idioms)] #![warn(unreachable_pub)] +#![recursion_limit = "256"] #[macro_use] extern crate derive_new; |
