Closed wtfamidoingrn closed 3 hours ago
Or is the panic just expected behaviour to make the test fail for the perspective of cargo and I am too stupid to use trybuild correctly? I'm currently struggling to replicate this in an empty project. When I set the expected output for the compile fail, this does not happen.
Yeah, this seems to be just my own incompetence and not overwriting the .stderr
files after changing tests...
When running any compile fail test that contains a module definition, e.g.
, trybuild panics after executing all test cases. This is not affected by the test actually succeeding to compile or not. This does not happen when the test is supposed to pass.
The resulting output is