dtolnay / dtolnay/trybuild

Allow assert passed tests expanded results

Open
#304 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
998
Forks
84
PR merge metrics
No merged PRs in 30d

Description

From the documents, it seems current pass tests only assert that "compile successfully and have a main function that does not panic when the compiled binary is executed".

Often, it would be helpful when a proc-macro author wants to assert the expanded result is as expected.

Does `try_build` provide such ability? Or I should write an extra script to run `cargo expand` and `diff` the output manually.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.