]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-26619.stderr
New upstream version 1.60.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-26619.stderr
CommitLineData
48663c56 1error[E0515]: cannot return value referencing function parameter
dfeec247 2 --> $DIR/issue-26619.rs:5:76
532ac7d7
XL
3 |
4LL | for s in vec!["1|2".to_string()].into_iter().filter_map(|ref line| self.make_entry(line)) {
48663c56
XL
5 | -------- ^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function
6 | |
7 | function parameter borrowed here
532ac7d7
XL
8
9error: aborting due to previous error
10
48663c56 11For more information about this error, try `rustc --explain E0515`.