diff options
| author | Georg Semmler <github@weiznich.de> | 2023-10-11 21:57:53 +0200 |
|---|---|---|
| committer | Georg Semmler <github@weiznich.de> | 2023-10-11 22:01:59 +0200 |
| commit | 232aaeba7c6779233659b0a57ed75a5d7a48cfb0 (patch) | |
| tree | 359eacd5f18e1923ece9cdb5067557554ce7e0da /compiler/rustc_mir_transform/src | |
| parent | 71704c4f841477e94649843224db3fde67738b23 (diff) | |
| download | rust-232aaeba7c6779233659b0a57ed75a5d7a48cfb0.tar.gz rust-232aaeba7c6779233659b0a57ed75a5d7a48cfb0.zip | |
Handle several `#[diagnostic::on_unimplemented]` attributes correctly
This PR fixes an issues where rustc would ignore subsequent `#[diagnostic::on_unimplemented]` attributes. The [corresponding RFC](https://rust-lang.github.io/rfcs/3368-diagnostic-attribute-namespace.html) specifies that the first matching instance of each option is used. Invalid attributes are linted and otherwise ignored.
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions
