]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #39707 - durka:parsimonious-span-note, r=jonathandturner
authorCorey Farwell <coreyf@rwell.org>
Fri, 10 Feb 2017 00:43:26 +0000 (19:43 -0500)
committerGitHub <noreply@github.com>
Fri, 10 Feb 2017 00:43:26 +0000 (19:43 -0500)
commit84ad5157937d27db02479a4aa329ea0365e88130
tree86ec1b1290f4d2d3fbe6e4dcc46332c87a407c22
parent3199b2478a26d5a53fac25ee16f7c9c4ccc69d9b
parent9fffd14171704eb4c2e0f658fc3dcc25f97ccc60
Rollup merge of #39707 - durka:parsimonious-span-note, r=jonathandturner

change span_notes to notes in E0368/E0369

Fixes #39650.

All the uses of `span_note` in these errors were reusing the same span as the original error, which causes unnecessary repetition.

For an example, see the changes to [src/test/ui/span/issue-39018.stderr](https://github.com/rust-lang/rust/pull/39707/files?diff=unified#diff-46336f62958fdb34233db414cb9914a1R4).

r? @jonathandturner