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.
Tracking issue
1 parent 85187bf commit b6a3313Copy full SHA for b6a3313
crates/rust-project-goals/src/goal.rs
@@ -451,6 +451,15 @@ fn extract_metadata(sections: &[Section]) -> Result<Option<Metadata>> {
451
spanned::bail!(r[1], "accepted goals cannot have an empty tracking issue");
452
}
453
454
+ if has_tracking_issue && !r[1].contains("rust-project-goals#") {
455
+ spanned::bail!(
456
+ r[1],
457
+ "tracking issues are issues in the rust-project-goals repository. \
458
+ The `{}` issue can go in the `Other tracking issues` row.",
459
+ r[1].as_str(),
460
+ );
461
+ }
462
+
463
// For the others, it's of course optional.
464
if has_tracking_issue {
465
Some(r[1].parse()?.content)
0 commit comments