Skip to content

Instantly share code, notes, and snippets.

@pjenvey
Last active October 26, 2018 06:13
Show Gist options
  • Save pjenvey/4a760e1f2b9aaae10a40f16d47fff708 to your computer and use it in GitHub Desktop.
Save pjenvey/4a760e1f2b9aaae10a40f16d47fff708 to your computer and use it in GitHub Desktop.
$ rustc --version
rustc 1.30.0 (da5f414c2 2018-10-24)
$ grep recursion_limit src/main.rs
#![recursion_limit="4096"]
$ cargo doc -q --document-private-items --no-deps > /dev/stdout 2>&1 | tee /tmp/out
error[E0275]: overflow evaluating the requirement `<&_ as diesel::Insertable<_>>::Values`
|
= help: consider adding a `#![recursion_limit="8192"]` attribute to your crate
= note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&_, &_, &_)`
= note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&(_, _, _)`
= note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&(_, _, _), &_, &_)`
= note: required because of the requirements on the impl of `diesel::Insertable<_>` for `&((_, _, _), _, _)`
= note: required because of the requirements on the impl of `diesel::Insertable<_>` for `(&((_, _, _), _, _), &_, &_)`
...
$ grep recursion_limit src/main.rs
#![recursion_limit="8192"]
$ cargo doc -q --document-private-items --no-deps > /dev/stdout 2>&1 | tee /tmp/out2
thread '<unknown>' has overflowed its stack
fatal runtime error: stack overflow
Caused by:
process didn't exit successfully: `rustdoc --crate-name syncstorage src/main.rs --color never -o /media/ext/pj
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment