mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-12 21:28:51 +00:00
Formatting
This commit is contained in:
parent
8a3f17a4e2
commit
96437b050f
1 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ fn pointer_type(p: &mut Parser) {
|
||||||
// type T = *();
|
// type T = *();
|
||||||
p.error(
|
p.error(
|
||||||
"expected mut or const in raw pointer type \
|
"expected mut or const in raw pointer type \
|
||||||
(use `*mut T` or `*const T` as appropriate)"
|
(use `*mut T` or `*const T` as appropriate)",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -98,7 +98,7 @@ fn array_or_slice_type(p: &mut Parser) {
|
||||||
R_BRACK => {
|
R_BRACK => {
|
||||||
p.bump();
|
p.bump();
|
||||||
SLICE_TYPE
|
SLICE_TYPE
|
||||||
},
|
}
|
||||||
|
|
||||||
// test array_type
|
// test array_type
|
||||||
// type T = [(); 92];
|
// type T = [(); 92];
|
||||||
|
|
Loading…
Reference in a new issue