mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
Add test for unclosed generic
This commit is contained in:
parent
51e976948d
commit
823671589f
@ -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 `<`",
|
||||
},
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user