]> git.lizzy.rs Git - rust.git/blob - src/test/ui/nll/borrowed-universal-error-2.stderr
Auto merge of #105145 - Ayush1325:sequential-remote-server, r=Mark-Simulacrum
[rust.git] / src / test / 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`.