rust/src/test/ui/issues/issue-45696-scribble-on-boxed-borrow.ast.stderr

15 lines
386 B
Plaintext
Raw Normal View History

2018-07-27 15:52:17 +02:00
error: compilation successful
2018-12-25 08:56:47 -07:00
--> $DIR/issue-45696-scribble-on-boxed-borrow.rs:82:1
2018-07-27 15:52:17 +02:00
|
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