Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
NLL: On "cannot move out of type" error, print original before rewrite #52907
NLL: On "cannot move out of type" error, print original source before rewrite.
/// The message /// /// * should not end in any punctuation (a `:` is added automatically) /// * should not be a question /// * should not contain any parts like "the following", "as shown"
As a drive-by fix, also changed code to combine multiple suggestions for a pattern into a single multipart suggestion (which vastly improves user experience IMO).
Includes the updates to expected NLL diagnostics.