rustdoc: Rename @has FILE PATTERN
to @hastext
#100354
Labels
A-contributor-roadblock
Area: Makes things more difficult for new contributors to rust itself
A-testsuite
Area: The testsuite used to check the correctness of rustc
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
@has FILE PATTERN
treatsPATTERN
as literal text, while@has FILE PATTERN ANOTHER_PATTERN
treatsPATTERN
as an XPath (andANOTHER_PATTERN
as literal text). This is quite confusing and left me perplexed at why my test was failing. IMO we should have a different name for these two versions. The literal (arity-2) version could be named@hastext
.This would also rename the equivalent for
@matches
to@matchestext
.Originally posted by @camelid in #100348 (comment)
The text was updated successfully, but these errors were encountered: