Skip to content

kind checker should also check type instantiations #2011

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

Closed
marijnh opened this issue Mar 16, 2012 · 0 comments
Closed

kind checker should also check type instantiations #2011

marijnh opened this issue Mar 16, 2012 · 0 comments
Labels
A-type-system Area: Type system

Comments

@marijnh
Copy link
Contributor

marijnh commented Mar 16, 2012

It is currently possible to instantiate a type that takes a <T: copy> type parameter with a noncopyable type. This can be used to circumvent the kind system. Should be relatively straightforward to check.

@ghost ghost assigned marijnh Mar 16, 2012
@marijnh marijnh removed their assignment Jun 16, 2014
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
Kobzol pushed a commit to Kobzol/rust that referenced this issue Dec 30, 2024
It's a bit of a tongue-twister it seems.
bors pushed a commit to rust-lang-ci/rust that referenced this issue Jan 2, 2025
It's a bit of a tongue-twister it seems.
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
Projects
None yet
Development

No branches or pull requests

1 participant