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

Add a check to make sure statics only have sized type #26

Closed
Kimundi opened this issue Nov 3, 2015 · 3 comments
Closed

Add a check to make sure statics only have sized type #26

Kimundi opened this issue Nov 3, 2015 · 3 comments

Comments

@Kimundi
Copy link
Contributor

Kimundi commented Nov 3, 2015

No description provided.

@Kimundi
Copy link
Contributor Author

Kimundi commented Mar 4, 2017

This is implicitly given by the structure of the code now, but hard to write a test for since it would have to be a compile-fail test.

@yvt
Copy link

yvt commented Oct 29, 2017

rustdoc has the compile_fail doctest attribute for compile-fail tests. Does this solve the issue?

@Kimundi
Copy link
Contributor Author

Kimundi commented Nov 8, 2017

I was think more of a regular compile_fail test, but this would work too.

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

2 participants