We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f2ed85 commit 0257cb8Copy full SHA for 0257cb8
tests/fail/tree_borrows/write_to_shr.rs
@@ -1,5 +1,7 @@
1
//@compile-flags: -Zmiri-tree-borrows
2
3
+#![allow(cast_ref_to_mut)]
4
+
5
// Very simple test that a shared reference without interior mutability cannot
6
// be written to.
7
0 commit comments