about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-10-25 23:37:09 +0200
committerGitHub <noreply@github.com>2023-10-25 23:37:09 +0200
commitd30fe8b4e2bf718a3f951096bae451c1652b79b5 (patch)
tree41116d8ae69990651bef3b249e305794d25c1bf7 /compiler/rustc_codegen_llvm/src/errors.rs
parent824dbb53fbdea5dc3eec644f775de5ec125c7fba (diff)
parent3d03a8a6537ae944d38fb22b2edd1df0dcbaeeb1 (diff)
downloadrust-d30fe8b4e2bf718a3f951096bae451c1652b79b5.tar.gz
rust-d30fe8b4e2bf718a3f951096bae451c1652b79b5.zip
Rollup merge of #116931 - weiznich:improve_diagnostic_on_unimplemented_warnings, r=compiler-errors
Improve the warning messages for the `#[diagnostic::on_unimplemented]`

This commit improves warnings emitted for malformed on unimplemented attributes by:

* Improving the span of the warnings
* Adding a label message to them
* Separating the messages for missing and unexpected options
* Adding a help message that says which options are supported

r? `@compiler-errors`

I'm happy to work on further improvements, so feel free to make suggestions.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions