]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #87311 - oli-obk:nll_suggestion_span, r=estebank
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Wed, 21 Jul 2021 13:52:51 +0000 (15:52 +0200)
committerGitHub <noreply@github.com>
Wed, 21 Jul 2021 13:52:51 +0000 (15:52 +0200)
commitfc1032647beb0555d862d94570b89c150b6527ae
treef325514c7e42e6f3c2e9bd1ad19a46e8bbf889b6
parentc6aaadc33ea241e3548a04b8431644ad8bbdf6e7
parentb3594f0d1d8190387d37b0f5b30b9688f857b1dd
Rollup merge of #87311 - oli-obk:nll_suggestion_span, r=estebank

Get back the more precise suggestion spans of old regionck

I noticed that when you turn on nll, the structured suggestion replaces a snippet instead of appending a snippet. It seems clearer to the user to only highlight the newly added characters instead of the entire `impl Trait` (and old regionck already does it this way).

r? ``@estebank``