about summary refs log tree commit diff
path: root/library/core/src/ptr/alignment.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-18 02:57:09 +0000
committerbors <bors@rust-lang.org>2023-11-18 02:57:09 +0000
commit547ace805166137052b2b76ee6770ef7cc8aa7c1 (patch)
tree65be9dc48edde9823965c0a2eaca9e4899eb0632 /library/core/src/ptr/alignment.rs
parent1a740c381675940fce3ca4b125677928be736f0b (diff)
parent10538d4d2b9c0403573211cb4881547880b3b913 (diff)
downloadrust-547ace805166137052b2b76ee6770ef7cc8aa7c1.tar.gz
rust-547ace805166137052b2b76ee6770ef7cc8aa7c1.zip
Auto merge of #117742 - weiznich:turn_overlapping_diagnostic_options_into_warnings, r=compiler-errors
Add some additional warnings for duplicated diagnostic items

This commit adds warnings if a user supplies several diagnostic options where we can only apply one of them. We explicitly warn about ignored options here. In addition a small test for these warnings is added.

r? `@compiler-errors`

For now that's the last PR to improve the warnings generated by misused `#[diagnostic::on_unimplemented]` attributes. I'm not sure what needs to be done next to move this closer to stabilization.
Diffstat (limited to 'library/core/src/ptr/alignment.rs')
0 files changed, 0 insertions, 0 deletions