about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorGeorg Semmler <github@weiznich.de>2023-10-19 08:44:15 +0200
committerGeorg Semmler <github@weiznich.de>2023-10-19 15:00:47 +0200
commit9017b974eef3b43cb4a0c781cc24404b896b0ce5 (patch)
tree24b1117e0c1337f1fb581447044a2bf577281430 /compiler/rustc_codegen_llvm/src/errors.rs
parent020d00867a0129fe77d02fb7f07d6bc96a7033ff (diff)
downloadrust-9017b974eef3b43cb4a0c781cc24404b896b0ce5.tar.gz
rust-9017b974eef3b43cb4a0c781cc24404b896b0ce5.zip
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
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions