1 error: `short` does not live long enough
2 --> $DIR/loan-extend.rs:21:1
4 19 | long = borrow(&mut short);
5 | ----- borrow occurs here
6 20 | //~^ NOTE borrow occurs here
8 | ^ `short` dropped here while still borrowed
10 = note: values in a scope are dropped in the opposite order they are created
12 error: aborting due to previous error