1 error[E0594]: cannot assign to `***p`, which is behind a `&` reference
2 --> $DIR/borrowck-issue-14498.rs:16:5
5 | ^^^^^^^^ `p` is a `&` reference, so the data it refers to cannot be written
7 help: consider changing this to be a mutable reference
12 error[E0506]: cannot assign to `**y` because it is borrowed
13 --> $DIR/borrowck-issue-14498.rs:25:5
16 | -- borrow of `**y` occurs here
19 | ^^^^^^^ assignment to borrowed `**y` occurs here
21 | - borrow later used here
23 error[E0506]: cannot assign to `**y` because it is borrowed
24 --> $DIR/borrowck-issue-14498.rs:35:5
27 | -- borrow of `**y` occurs here
30 | ^^^^^^^ assignment to borrowed `**y` occurs here
32 | - borrow later used here
34 error[E0506]: cannot assign to `**y` because it is borrowed
35 --> $DIR/borrowck-issue-14498.rs:45:5
38 | -- borrow of `**y` occurs here
41 | ^^^^^^^ assignment to borrowed `**y` occurs here
43 | - borrow later used here
45 error[E0506]: cannot assign to `**y` because it is borrowed
46 --> $DIR/borrowck-issue-14498.rs:55:5
49 | -- borrow of `**y` occurs here
52 | ^^^^^^^ assignment to borrowed `**y` occurs here
54 | - borrow later used here
56 error[E0506]: cannot assign to `**y.a` because it is borrowed
57 --> $DIR/borrowck-issue-14498.rs:65:5
60 | ---- borrow of `**y.a` occurs here
63 | ^^^^^^^^^ assignment to borrowed `**y.a` occurs here
65 | - borrow later used here
67 error[E0506]: cannot assign to `**y.a` because it is borrowed
68 --> $DIR/borrowck-issue-14498.rs:75:5
71 | ---- borrow of `**y.a` occurs here
74 | ^^^^^^^^^ assignment to borrowed `**y.a` occurs here
76 | - borrow later used here
78 error[E0506]: cannot assign to `**y.a` because it is borrowed
79 --> $DIR/borrowck-issue-14498.rs:85:5
82 | ---- borrow of `**y.a` occurs here
85 | ^^^^^^^^^ assignment to borrowed `**y.a` occurs here
87 | - borrow later used here
89 error[E0506]: cannot assign to `**y.a` because it is borrowed
90 --> $DIR/borrowck-issue-14498.rs:95:5
93 | ---- borrow of `**y.a` occurs here
96 | ^^^^^^^^^ assignment to borrowed `**y.a` occurs here
98 | - borrow later used here
100 error: aborting due to 9 previous errors
102 Some errors have detailed explanations: E0506, E0594.
103 For more information about an error, try `rustc --explain E0506`.