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

Self possibly has the wrong kind #2663

Closed
graydon opened this issue Jun 21, 2012 · 1 comment
Closed

Self possibly has the wrong kind #2663

graydon opened this issue Jun 21, 2012 · 1 comment
Labels
A-type-system Area: Type system E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@graydon
Copy link
Contributor

graydon commented Jun 21, 2012

Currently kind_noncopyable(), this might be wrong, as per fixme.

@nikomatsakis
Copy link
Contributor

Actually I believe it is correct. Basically self is a special type parameter that can only be used in ifaces and, at the moment, it has no bounds.

nikomatsakis added a commit to nikomatsakis/rust that referenced this issue Jan 31, 2013
RalfJung pushed a commit to RalfJung/rust that referenced this issue Nov 15, 2022
pthread: slight refactoring of how we access the sync object fields
Aaron1011 pushed a commit to Aaron1011/rust that referenced this issue Jan 6, 2023
pthread: slight refactoring of how we access the sync object fields
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-type-system Area: Type system E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

2 participants