about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorDavid Wood <david.wood@huawei.com>2022-04-26 06:17:33 +0100
committerDavid Wood <david.wood@huawei.com>2022-04-29 02:05:20 +0100
commit5ffe8a1a9049c58501132a07f1567605acff4541 (patch)
tree61e919975b316be67ffad2a0589215568c43bd23 /tests/rustdoc-js-std/parser-errors.js
parentec3afba5d48427801a490ba91e6ce6d0bd3bfae9 (diff)
downloadrust-5ffe8a1a9049c58501132a07f1567605acff4541.tar.gz
rust-5ffe8a1a9049c58501132a07f1567605acff4541.zip
errors: `span_suggestion` takes `impl ToString`
Change `span_suggestion` (and variants) to take `impl ToString` rather
than `String` for the suggested code, as this simplifies the
requirements on the diagnostic derive.

Signed-off-by: David Wood <david.wood@huawei.com>
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions