We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51b4005 commit ab9cf32Copy full SHA for ab9cf32
src/test/rustdoc-js-std/parser-errors.js
@@ -28,6 +28,8 @@ const QUERY = [
28
"fn:aaaaa<>b",
29
"->a<>b",
30
"a<->",
31
+ "a:: a",
32
+ "a ::a",
33
];
34
35
const PARSED = [
@@ -292,4 +294,22 @@ const PARSED = [
292
294
userQuery: 'a<->',
293
295
error: 'Unexpected `-` after `<`',
296
},
297
+ {
298
+ elems: [],
299
+ foundElems: 0,
300
+ original: 'a:: a',
301
+ returned: [],
302
+ typeFilter: -1,
303
+ userQuery: 'a:: a',
304
+ error: 'Paths cannot end with `::`',
305
+ },
306
307
308
309
+ original: 'a ::a',
310
311
312
+ userQuery: 'a ::a',
313
+ error: 'Paths cannot start with `::`',
314
315
0 commit comments