Don't suggest let
bindings if they don't help with borrows
#52049
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
suggests
but
still won't give us a
'static
lifetime.We should not emit the
note
if the required lifetime is'static
Instructions
note
inside the sourcelet
binding to increase its lifetime" message./x.py test --stage 1 src/test/{ui,compile-fail} --bless
should succeed and give you a bunch of changes to commit. Check that all changes make sense and just commit them.The text was updated successfully, but these errors were encountered: