test for validity of references pointing to uninhabited types#2125
Conversation
|
What are the plans for types like Is it possible to hit other |
|
The code is the same for references and boxes, and I don't want to have a bazillion tests.^^ But I guess I could change one of these tests to use
My plan is to never look at the memory a reference points to (as part of validity checking). So we cannot know the value of the discriminant, and hence |
|
@bors r+ |
|
📌 Commit 439f861 has been approved by |
|
☀️ Test successful - checks-actions |
|
@saethlin if you see crates fail that used to work, this might be why. |
The new tests for rust-lang/rust#97116