diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2019-12-03 22:20:05 -0500 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2019-12-03 23:13:10 -0500 |
| commit | 168e35d56935b265d9c3ce767430f40ed7448d05 (patch) | |
| tree | f1e656eab577cd2e1ab26036492963fdc7790351 /src/liballoc/alloc | |
| parent | 2f04472c02c7d4fc8fefc9e9030838526177e0ea (diff) | |
| download | rust-168e35d56935b265d9c3ce767430f40ed7448d05.tar.gz rust-168e35d56935b265d9c3ce767430f40ed7448d05.zip | |
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
