mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 06:03:58 +00:00
feat: add arm for use
type bound
This commit is contained in:
parent
fa3484f39f
commit
61b232369b
1 changed files with 6 additions and 0 deletions
|
@ -167,6 +167,12 @@ fn type_bound(p: &mut Parser<'_>) -> bool {
|
|||
T![async] => {
|
||||
p.bump_any();
|
||||
}
|
||||
// test precise_capturing
|
||||
// fn captures<'a: 'a, 'b: 'b, T>() -> impl Sized + use<'b, T> {}
|
||||
T![use] => {
|
||||
p.bump_any();
|
||||
generic_param_list(p);
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
if paths::is_use_path_start(p) {
|
||||
|
|
Loading…
Reference in a new issue