about summary refs log tree commit diff
path: root/src/liballoc/alloc
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-12-05 19:03:17 +0100
committerGitHub <noreply@github.com>2019-12-05 19:03:17 +0100
commit7945dcdfdcbd5ad9ce798339409e48d814a06787 (patch)
treeb67472bd22bc5809eac0a75c4872e93a8d5f4701 /src/liballoc/alloc
parent8e6cf861e5e1b558b6a03dd0eaabc15b37570063 (diff)
parent168e35d56935b265d9c3ce767430f40ed7448d05 (diff)
downloadrust-7945dcdfdcbd5ad9ce798339409e48d814a06787.tar.gz
rust-7945dcdfdcbd5ad9ce798339409e48d814a06787.zip
Rollup merge of #67011 - Aaron1011:fix/expected-found-span, r=Dylan-DPC
Include a span in more `expected...found` notes

In most places, we use a span when emitting `expected...found` errors.
However, there were a couple of places where we didn't use any span,
resulting in hard-to-interpret error messages.

This commit attaches the relevant span to these notes, and additionally
switches over to using `note_expected_found` instead of manually
formatting the message
Diffstat (limited to 'src/liballoc/alloc')
0 files changed, 0 insertions, 0 deletions