mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
Parse integer / float types
This commit is contained in:
parent
3ac605e687
commit
3899898d75
4 changed files with 58 additions and 4 deletions
|
@ -2697,7 +2697,11 @@ impl<R: TreeRoot<RaTypes>> PathTypeNode<R> {
|
|||
}
|
||||
|
||||
|
||||
impl<'a> PathType<'a> {}
|
||||
impl<'a> PathType<'a> {
|
||||
pub fn path(self) -> Option<Path<'a>> {
|
||||
super::child_opt(self)
|
||||
}
|
||||
}
|
||||
|
||||
// PlaceholderPat
|
||||
#[derive(Debug, Clone, Copy,)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue