Skip to content

zm: Only run trybuild tests if Rust version is latest stable

Zeeshan Ali Khan requested to merge negative-test into master

Since the error output can change from release to release, these tests break each time that happens. While we can always update the expected error output from the compiler, this implies breaking cargo test for all previous compiler releases.

Let's avoid that by only enabling these tests if the compiler version is latest.

@jplatte looks good?

Merge request reports