We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
struct MyType<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h> { is_static: SendIfStatic<'a>, rot: Option<Box<MyType<'b, 'c, 'd, 'e, 'f, 'g, 'h, 'a>>>, } struct SendIfStatic<'a>(&'a ()); unsafe impl Send for SendIfStatic<'static> {} fn is_send<T: Send>(x: T) {} fn main() { let is_static = SendIfStatic(&()); is_send(MyType { is_static, rot: None, }) }
this compiles with the old solver and overflows with new. https://rust.godbolt.org/z/v9bMKM5T4
The text was updated successfully, but these errors were encountered:
This only affects cases where coinductive cycles include goals with more constraints than the struct definition, so it may not matter in practice
Sorry, something went wrong.
No branches or pull requests
this compiles with the old solver and overflows with new. https://rust.godbolt.org/z/v9bMKM5T4
The text was updated successfully, but these errors were encountered: