Refactor rustc_on_unimplemented's filter parser by mejrs · Pull Request #140307 · rust-lang/rust (original) (raw)

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

May 5, 2025

@rust-timer

Rollup merge of rust-lang#140307 - mejrs:condition_parser, r=nnethercote

Refactor rustc_on_unimplemented's filter parser

Followup to rust-lang#139091; I plan on moving most of this code into rustc_attr_parsing at some point, but want to land this separately first.

I have taken care to preserve the original behavior as much as I could:

Finally, this gets rid of the "longest" dependency in rustc: image