mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
Parse impl const Trait
This commit is contained in:
parent
6105dbfc2e
commit
b26002410b
4 changed files with 31 additions and 2 deletions
|
@ -40,6 +40,10 @@ pub(super) fn impl_(p: &mut Parser) {
|
|||
type_params::opt_generic_param_list(p);
|
||||
}
|
||||
|
||||
// test impl_def_const
|
||||
// impl const Send for X {}
|
||||
p.eat(T![const]);
|
||||
|
||||
// FIXME: never type
|
||||
// impl ! {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue