]> git.lizzy.rs Git - rust.git/commitdiff
Merge #10552
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Fri, 15 Oct 2021 17:29:03 +0000 (17:29 +0000)
committerGitHub <noreply@github.com>
Fri, 15 Oct 2021 17:29:03 +0000 (17:29 +0000)
10552: fix: Fix missing_fields diagnostic fix replacing wrong text ranges r=Veykril a=Veykril

Fixes #5393 by replacing the problematic behaviour there with a new "problem"

It replaces the correct range now, but it potentially discards the whitespace in the macro input. This is the best we can do currently until we get a formatter.

bors r+

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>

Trivial merge