diff options
| author | Noah Lev <camelidcamel@gmail.com> | 2022-08-13 00:56:16 -0400 |
|---|---|---|
| committer | Noah Lev <camelidcamel@gmail.com> | 2022-08-13 00:56:16 -0400 |
| commit | 0d588e928e7db77f9a810b1b5de02521dbf5ee5e (patch) | |
| tree | 471a099d3bb3758f804a4f9a15f2144e7d4ecb42 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | b34e2404fd375e1bc18c1191639e4e67bdbc7d19 (diff) | |
| download | rust-0d588e928e7db77f9a810b1b5de02521dbf5ee5e.tar.gz rust-0d588e928e7db77f9a810b1b5de02521dbf5ee5e.zip | |
rustdoc: Fix incorrect usage of `@!has` and `@!matches`
`@!has` (and `@!matches`) with two arguments used to treat the second argument as a literal string of HTML code. Now, that feature has been renamed into `@!hasraw` (and `@!matchesraw`), and the arity-2 `@!has` version is an error. These uses thought the second argument was being treated as an XPath, as with the arity-3 version, but in fact was being treated as literal HTML. Because these were checking for the *absence* of the string, the tests silently did nothing -- an XPath string won't ever be showing up in the test's generated HTML!
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
