diff options
| author | bors <bors@rust-lang.org> | 2023-03-04 11:44:02 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-03-04 11:44:02 +0000 |
| commit | 276b75a843af8822ffe4e395266d9445679a57a4 (patch) | |
| tree | 73ab77cc1f2e9f7437fec769331f7b7d396310ae /tests/rustdoc-js-std/parser-errors.js | |
| parent | 01b7a6a9eac151f82831c402f91894552f5ca36d (diff) | |
| parent | 0965c7e0a995d7313387f820f84c3f6d469df4a3 (diff) | |
| download | rust-276b75a843af8822ffe4e395266d9445679a57a4.tar.gz rust-276b75a843af8822ffe4e395266d9445679a57a4.zip | |
Auto merge of #108732 - Dylan-DPC:rollup-dy1l8sx, r=Dylan-DPC
Rollup of 6 pull requests Successful merges: - #108298 (Fix ICE: check if snippet is `)`) - #108405 (Lazily compute crate name for consider_optimizing) - #108656 (Rustdoc search: Emit an error for unclosed generic) - #108660 (Remove ne implementations from strings) - #108669 (Allow checking whether a type allows being uninitialized) - #108727 (rustc_expand: make proc-macro derive error translatable) Failed merges: 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 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/rustdoc-js-std/parser-errors.js b/tests/rustdoc-js-std/parser-errors.js index 6c5a7770283..98c6f27ca61 100644 --- a/tests/rustdoc-js-std/parser-errors.js +++ b/tests/rustdoc-js-std/parser-errors.js @@ -39,6 +39,7 @@ const QUERY = [ "a!!", "mod:a!", "a!::a", + "a<", ]; const PARSED = [ @@ -402,4 +403,13 @@ const PARSED = [ userQuery: "a!::a", error: 'Cannot have associated items in macros', }, + { + elems: [], + foundElems: 0, + original: "a<", + returned: [], + typeFilter: -1, + userQuery: "a<", + error: "Unclosed `<`", + }, ]; |
