rust/compiler
Esteban Küber 635c38187b Avoid incorrect suggestion
We check that there's a single level of block nesting to ensure always
correct suggestions. If we don't, then we only provide a free-form
message to avoid misleading users in cases like
`src/test/ui/nll/borrowed-temporary-error.rs`.

We could expand the analysis to suggest hoising all of the relevant
parts of the users' code to make the code compile, but that could be
too much.
2022-07-15 11:04:45 -07:00
..
2022-07-12 21:00:13 +04:00
2022-07-12 16:25:16 +04:00
2022-07-12 16:25:16 +04:00
2022-07-15 11:04:45 -07:00