Open scovich opened 1 week ago
looks like tests/invalid-handle-code/mut-clone-handle.rs
still doesn't match?
looks like
tests/invalid-handle-code/mut-clone-handle.rs
still doesn't match?
Depends on the compiler version, methinks. @zachschuermann has a good point. Maybe we somehow need golden files that map to specific compiler versions?
Or maybe we just run once in a while like this, because they're anyway only verifying that the compiler blocks users attempting Bad Things. Even if the compiler ever failed to block them, they're still doing it wrong and should stop.
@scovich yea maybe the simplest thing for now is to try to freeze the golden file tests to run against a specific version of rustc? wonder if that's possible
At some point a compiler upgrade started producing more verbose diagnostics, but golden files were never updated to match. Update them now.