fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0515]: cannot return value referencing local data `*b` 2 --> $DIR/regions-trait-variance.rs:38:5 3 | 4LL | let bb: &B = &*b; 5 | --- `*b` is borrowed here 6LL | make_a(bb) 7 | ^^^^^^^^^^ returns a value referencing data owned by the current function 8 9error: aborting due to previous error 10 11For more information about this error, try `rustc --explain E0515`.