mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-04 23:50:47 +00:00
internal: more focused tests for const arguments
This commit is contained in:
parent
09531b703d
commit
a6181bfdb7
28 changed files with 321 additions and 176 deletions
|
@ -81,8 +81,6 @@ fn const_param(p: &mut Parser, m: Marker) {
|
|||
if p.at(T![=]) {
|
||||
// test const_param_defaults
|
||||
// struct A<const N: i32 = -1>;
|
||||
// struct B<const N: i32 = {}>;
|
||||
// struct C<const N: i32 = some::CONST>;
|
||||
p.bump(T![=]);
|
||||
generic_args::const_arg(p);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue