]> git.lizzy.rs Git - rust.git/commit - src/tools/rustfmt
Rollup merge of #79082 - ThePuzzlemaker:issue-78941-fix, r=estebank
authorDylan DPC <dylan.dpc@gmail.com>
Thu, 19 Nov 2020 15:26:21 +0000 (16:26 +0100)
committerGitHub <noreply@github.com>
Thu, 19 Nov 2020 15:26:21 +0000 (16:26 +0100)
commit3f0f224be48941f489bcb4b8bcd869d687c168af
treedb54b84fd9cdbf7b744b42cb49569459ef981557
parent5a58b5069873564e37acb42dc2f963b726a769e5
parentb8ed466b240887c871909f5e30ea3662a356d19a
Rollup merge of #79082 - ThePuzzlemaker:issue-78941-fix, r=estebank

Improve the diagnostic for when an `fn` contains qualifiers inside an `extern` block.

This mitigates #78941. As suggested by ```@estebank,``` `span_suggestion` was replaced with `span_suggestion_verbose` for this specific diagnostic.