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

Use trybuild for testing compilation failures #35

Merged
merged 4 commits into from
Jan 16, 2022
Merged

Use trybuild for testing compilation failures #35

merged 4 commits into from
Jan 16, 2022

Conversation

madsmtm
Copy link
Owner

@madsmtm madsmtm commented Sep 8, 2021

Unsure if I want to add this, similar functionality is achievable using compile_fail doctests, though this is a lot better at testing proper error messages.

@madsmtm
Copy link
Owner Author

madsmtm commented Jan 16, 2022

I'm gonna go with this, because we're gonna need more complex macros (e.g. derive macros, see #55), and there it'll be important to test the output.

See also this comment.

@madsmtm madsmtm merged commit f23c3fc into master Jan 16, 2022
@madsmtm madsmtm deleted the trybuild branch January 16, 2022 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant