diff options
| author | bors <bors@rust-lang.org> | 2024-06-08 02:29:28 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-06-08 02:29:28 +0000 |
| commit | ff014f5de0c4d9a53e2d80b53e1faaca96964314 (patch) | |
| tree | 74467f78f356056968fadcf1d9e6e9bb74f5cbb1 /tests/rustdoc-js-std/parser-errors.js | |
| parent | 8fb1930c20ace2bcd17c4a52392de38a1c84bd05 (diff) | |
| parent | 733a6f1a1cf3411f211c7fd4407bcacd9f20bdf3 (diff) | |
| download | rust-ff014f5de0c4d9a53e2d80b53e1faaca96964314.tar.gz rust-ff014f5de0c4d9a53e2d80b53e1faaca96964314.zip | |
Auto merge of #126144 - fmease:rollup-i9pcdys, r=fmease
Rollup of 6 pull requests Successful merges: - #125951 (Stabilize `error_in_core`) - #125998 (std::unix::fs::get_mode implementation for illumos/solaris.) - #126057 (Make html rendered by rustdoc allow searching non-English identifier / alias) - #126065 (mark binding undetermined if target name exist and not obtained) - #126105 (Add debugging utils and comments to Fuchsia scripts) - #126138 (Fix typo in docs for std::pin) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
| -rw-r--r-- | tests/rustdoc-js-std/parser-errors.js | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/tests/rustdoc-js-std/parser-errors.js b/tests/rustdoc-js-std/parser-errors.js index ffd169812b6..c4d7c2b0b85 100644 --- a/tests/rustdoc-js-std/parser-errors.js +++ b/tests/rustdoc-js-std/parser-errors.js @@ -24,7 +24,7 @@ const PARSED = [ original: "-> *", returned: [], userQuery: "-> *", - error: "Unexpected `*` after ` `", + error: "Unexpected `*` after ` ` (not a valid identifier)", }, { query: 'a<"P">', @@ -204,16 +204,25 @@ const PARSED = [ original: "_:", returned: [], userQuery: "_:", - error: "Unexpected `:` (expected path after type filter `_:`)", + error: "Unexpected `_` (not a valid identifier)", }, { - query: "_:a", + query: "ab:", elems: [], foundElems: 0, - original: "_:a", + original: "ab:", returned: [], - userQuery: "_:a", - error: "Unknown type filter `_`", + userQuery: "ab:", + error: "Unexpected `:` (expected path after type filter `ab:`)", + }, + { + query: "a:b", + elems: [], + foundElems: 0, + original: "a:b", + returned: [], + userQuery: "a:b", + error: "Unknown type filter `a`", }, { query: "a-bb", @@ -240,7 +249,7 @@ const PARSED = [ original: "ab'", returned: [], userQuery: "ab'", - error: "Unexpected `'` after `b`", + error: "Unexpected `'` after `b` (not a valid identifier)", }, { query: "a->", |
