chiark
/
gitweb
/
~ijackson
/
talk-2019-ghm-rust.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
other problems
[talk-2019-ghm-rust.git]
/
bck-err.txt
1
1 | fn longest(x: &str, y: &str) -> &str {
2
| ^ expected lifetime parameter
3
|
4
= help: this function's return type contains a borrowed value, but the
5
signature does not say whether it is borrowed from `x` or `y`