-
Notifications
You must be signed in to change notification settings - Fork 96
Description
I know the existing TOML schema doesn't really lend itself to that but it would be quite handy if you could declare a [mentions] that requires the path to match a specific path (prefix) AND the patch to contain the addition of a specific pattern.
Regarding a concrete use case, see rust-lang/rust#146668 (comment) for context. I basically want the path to start with /library/ AND the pattern to be negative_bounds. Explainer: Adding #![feature(…, negative_bounds, …)] to the stdlib and friends is a hard no-go but it's okay to be used inside tests/.
Well, I guess I also want to denylist compiler/ tho that's not a hard requirement. So maybe I want an exclude_filepaths?: null | string[] instead (for allowlisting tests/ in my case)?
Hmm, feel free to close as WONTFIX if you deem this too complex / laborious.