about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-slice-array.js
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2023-10-30 10:48:18 +0100
committerGitHub <noreply@github.com>2023-10-30 10:48:18 +0100
commit5eb76fac7cd9920b004b29e10ec3f360abe5ad48 (patch)
tree7e5c6d7729d5bd41e6d1bdd888d3d582c42a119c /tests/rustdoc-js-std/parser-slice-array.js
parent098bb3703c59be69351dd792977d654ed2e9ff94 (diff)
parent160b1793b2e29cfb10d7c7a5932ccb7f991f02bd (diff)
downloadrust-5eb76fac7cd9920b004b29e10ec3f360abe5ad48.tar.gz
rust-5eb76fac7cd9920b004b29e10ec3f360abe5ad48.zip
Rollup merge of #117205 - weiznich:multiple_notes_for_on_unimplemented, r=compiler-errors
Allows `#[diagnostic::on_unimplemented]` attributes to have multiple

notes

This commit extends the `#[diagnostic::on_unimplemented]` (and `#[rustc_on_unimplemented]`) attributes to allow multiple `note` options. This enables emitting multiple notes for custom error messages. For now I've opted to not change any of the existing usages of `#[rustc_on_unimplemented]` and just updated the relevant compile tests.

r? `@compiler-errors`

I'm happy to adjust any of the existing changed location to emit the old error message if that's desired.
Diffstat (limited to 'tests/rustdoc-js-std/parser-slice-array.js')
0 files changed, 0 insertions, 0 deletions