blob: ad4636a4a91c6844490162bd5ef2eb5eba3e4dcd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
error: compilation successful
--> $DIR/two-phase-reservation-sharing-interference-2.rs:17:1
|
LL | / fn main() { //~ ERROR compilation successful
LL | | let mut v = vec![0, 1, 2];
LL | | let shared = &v;
LL | |
... |
LL | | assert_eq!(v, [0, 1, 2, 3]);
LL | | }
| |_^
error: aborting due to previous error
|