diff options
author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-03-02 23:05:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-02 23:05:29 +0100 |
commit | 0dc12b9deca5bd2b5b7e5917073465ae3b349028 (patch) | |
tree | ddeeb5efbce107f769882d1f1beac4a2491df1d5 /tests/rustdoc-js-std/parser-errors.js | |
parent | 13640e337a34b15167b889bf50711d1145e64805 (diff) | |
parent | cfb4af87e30e9cfc4af01d08b45fed738d00d0ed (diff) | |
download | rust-0dc12b9deca5bd2b5b7e5917073465ae3b349028.tar.gz |
Rollup merge of #108584 - GuillaumeGomez:rustdoc-search-background, r=notriddle
Put backtick content from rustdoc search errors into a <code> elements
Some screenshots of the result:



You can test it [here](https://rustdoc.crud.net/imperio/rustdoc-search-background/foo/index.html?search=%22).
r? ```@notriddle```
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
-rw-r--r-- | tests/rustdoc-js-std/parser-errors.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc-js-std/parser-errors.js b/tests/rustdoc-js-std/parser-errors.js index f82a2472063..6c5a7770283 100644 --- a/tests/rustdoc-js-std/parser-errors.js +++ b/tests/rustdoc-js-std/parser-errors.js @@ -67,7 +67,7 @@ const PARSED = [ returned: [], typeFilter: -1, userQuery: "a<\"p\">", - error: "`\"` cannot be used in generics", + error: "Unexpected `\"` in generics", }, { elems: [], @@ -373,7 +373,7 @@ const PARSED = [ returned: [], typeFilter: -1, userQuery: "a!a", - error: '`!` can only be at the end of an ident', + error: 'Unexpected `!`: it can only be at the end of an ident', }, { elems: [], |