We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fea27a6 commit 886a6aaCopy full SHA for 886a6aa
src/tools/tidy/src/triagebot.rs
@@ -19,7 +19,11 @@ pub fn check(path: &Path, bad: &mut bool) {
19
20
// Check [mentions."*"] sections, i.e. [mentions."compiler/rustc_const_eval/src/"]
21
if let Some(Value::Table(mentions)) = config.get("mentions") {
22
- for path_str in mentions.keys() {
+ for (entry_key, entry_val) in mentions.iter() {
23
+ if entry_val.get("type").is_some_and(|t| t.as_str().unwrap_or_default() != "filename") {
24
+ continue;
25
+ }
26
+ let path_str = entry_key;
27
// Remove quotes from the path
28
let clean_path = path_str.trim_matches('"');
29
let full_path = path.join(clean_path);
0 commit comments