]> git.lizzy.rs Git - rust.git/blob - tests/ui/nll/borrowed-universal-error-2.stderr
Rollup merge of #103236 - tspiteri:redoc-int-adc-sbb, r=m-ou-se
[rust.git] / tests / ui / nll / borrowed-universal-error-2.stderr
1 error[E0515]: cannot return reference to local variable `v`
2   --> $DIR/borrowed-universal-error-2.rs:3:5
3    |
4 LL |     &v
5    |     ^^ returns a reference to data owned by the current function
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0515`.