Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

overflow evaluating Slot<Event> : Send #58923

Open
Dylan-DPC-zz opened this issue Mar 4, 2019 · 1 comment
Open

overflow evaluating Slot<Event> : Send #58923

Dylan-DPC-zz opened this issue Mar 4, 2019 · 1 comment
Labels
A-typesystem Area: The type system T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@Dylan-DPC-zz
Copy link

Dylan-DPC-zz commented Mar 4, 2019

From a crater run:

[INFO] [stderr]    Compiling ilp v0.2.1 (/opt/crater/workdir)
[INFO] [stderr] error[E0275]: overflow evaluating the requirement `h2::proto::streams::buffer::Slot<h2::proto::streams::recv::Event>: std::marker::Send`
[INFO] [stderr]    --> src/main.rs:109:5
[INFO] [stderr]     |
[INFO] [stderr] 109 |     tokio::run(run);
[INFO] [stderr]     |     ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#![recursion_limit="128"]` attribute to your crate
[INFO] [stderr]     = note: required because it appears within the type `slab::Entry<h2::proto::streams::buffer::Slot<h2::proto::streams::recv::Event>>`
[INFO] [stderr]     = note: required because of the requirements on the impl of `std::marker::Send` for `std::ptr::Unique<slab::Entry<h2::proto::streams::buffer::Slot<h2::proto::streams::recv::Event>>>`
[INFO] [stderr]     = note: required because it appears within the type `alloc::raw_vec::RawVec<slab::Entry<h2::proto::streams::buffer::Slot<h2::proto::streams::recv::Event>>>`
[INFO] [stderr]     = note: required because it appears within the type `std::vec::Vec<slab::Entry<h2::proto::streams::buffer::Slot<h2::proto::streams::recv::Event>>>`
[INFO] [stderr]     = note: required because it appears within the type `slab::Slab<h2::proto::streams::buffer::Slot<h2::proto::streams::recv::Event>>`

Affected crates:
ilp - crater log

cc author @emschwartz

@Centril
Copy link
Contributor

Centril commented Aug 6, 2019

@nagisa Is this fixed with the bump of the recursion limit?

@Centril Centril added A-typesystem Area: The type system T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-typesystem Area: The type system T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

2 participants