mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 23:25:03 +00:00
feat(syntax): RTN in bounds
Limited syntactic support for experimental return type notations. https://github.com/rust-lang/rust/issues/109417
This commit is contained in:
parent
ffb04ae32d
commit
0b9c0c5088
8 changed files with 103 additions and 2 deletions
|
@ -218,6 +218,9 @@ pub(super) fn lower_generic_args(
|
|||
let arg = ConstRefOrPath::from_expr_opt(arg.expr());
|
||||
args.push(GenericArg::Const(arg))
|
||||
}
|
||||
ast::GenericArg::ReturnTypeArg(_) => {
|
||||
// TODO: return type notation is experimental, we don't do anything with it yet.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue