diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2025-04-01 19:00:13 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-01 19:00:13 +0000 |
| commit | e975563e00aa93b06c5674bbaf6894593714d8b0 (patch) | |
| tree | ef6fa98af5f2bfda1041170c641547b70f532ba4 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | e429bdebbdbfaad7b86caa0fa394e12e2dea22f5 (diff) | |
| parent | dc7d9ec35c7c729baac22830016f0b1ef862100f (diff) | |
| download | rust-e975563e00aa93b06c5674bbaf6894593714d8b0.tar.gz rust-e975563e00aa93b06c5674bbaf6894593714d8b0.zip | |
Validate paths in `disallowed_*` configurations (#14397)
This PR resolves #11432 by checking that paths resolve in `disallowed_*` configurations. It also does some lightweight validation of definition kinds. For example, only paths that resolve to `DefKind::Macro` definitions are allowed in `disallowed_macro` configurations. ~The PR is currently two commits. The first is #14376 (cc: @Jarcho), which I submitted just a few days ago. The second commit is everything else.~ Side note: For me, the most difficult part of this PR was getting the spans of the individual `DisallowedPath` configurations. There is some discussion at https://github.com/toml-rs/toml/discussions/840, if interested. changelog: validate paths in `disallowed_*` configurations
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
