You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
better diagnostics for Tree Borrows + int2ptr casts
- Entirely reject `-Zmiri-permissive-provenance -Zmiri-tree-borrows` since that combination just doesn't work
- In the int2ptr cast warning, when Tree Borrows is enabled, do not recommend `-Zmiri-permissive-provenance`, instead note that Tree Borrows does not support int2ptr casts
Fixesrust-lang/miri#3764
Here's a simple example:
This compiles fine, but if you uncomment
//let foo::Foo { foo: _foo } = foo::Foo { foo: 1 };
it will error out with:The text was updated successfully, but these errors were encountered: