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

thread 'Worker' has overflowed its stack when go-to-def on #![derive(Clone)] #14310

Closed
lnicola opened this issue Mar 10, 2023 · 3 comments · Fixed by #14316
Closed

thread 'Worker' has overflowed its stack when go-to-def on #![derive(Clone)] #14310

lnicola opened this issue Mar 10, 2023 · 3 comments · Fixed by #14316
Labels
A-mir Broken Window Bugs / technical debt to be addressed immediately C-bug Category: bug

Comments

@lnicola
Copy link
Member

lnicola commented Mar 10, 2023

#[derive(Clone)]
pub struct SExp(pub String);
@Veykril
Copy link
Member

Veykril commented Mar 10, 2023

Caused by #14232, can't bisect the commits properly as they don't compile on their own for me

@Veykril Veykril added Broken Window Bugs / technical debt to be addressed immediately A-mir labels Mar 10, 2023
@Veykril
Copy link
Member

Veykril commented Mar 10, 2023

impl const Clone for ! {
    #[inline]
    fn clone(&self) -> Self {
        *self
    }
}

Causes the crash

@Veykril
Copy link
Member

Veykril commented Mar 10, 2023

cc @HKalbasi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-mir Broken Window Bugs / technical debt to be addressed immediately C-bug Category: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants