mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
515c670b35
Suggest returning a reference for unsized place from a closure Fixes rust-lang/rust#152064 There are 3 similar note: `the size for values of type str cannot be known at compilation time` for different spans, maybe need more work to remove some of them. This PR only adds a suggestion for using a reference.