rust/src/test/ui/issues/issue-45696-scribble-on-boxed-borrow.ast.stderr
2018-12-25 21:08:33 -07:00

15 lines
386 B
Plaintext

error: compilation successful
--> $DIR/issue-45696-scribble-on-boxed-borrow.rs:82:1
|
LL | / fn main() { //[ast]~ ERROR compilation successful
LL | | //[migrate]~^ ERROR compilation successful
LL | | let mut x = 1;
LL | | {
... |
LL | | *boxed_boxed_scribbled(Box::new(Box::new(Scribble(&mut x)))) += 10;
LL | | }
| |_^
error: aborting due to previous error