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

Send bound must be repeated for trait object even though trait itself is bound by Send #18987

Closed
carllerche opened this issue Nov 15, 2014 · 1 comment

Comments

@carllerche
Copy link
Member

Repro:

pub trait Foo : Send {
}

pub struct MyFoo {
    children: Vec<Box<Foo>>,
}

impl Foo for MyFoo {
}

pub fn main() {
}

cc @nikomatsakis

@carllerche
Copy link
Member Author

This appears to be fixed.

lnicola pushed a commit to lnicola/rust that referenced this issue Mar 3, 2025
feat: Calculate drop glue and show it on hover
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant