mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
Add TyBuilder
This commit is contained in:
parent
c9bcbf9a43
commit
b15152c430
1 changed files with 6 additions and 0 deletions
|
@ -810,6 +810,12 @@ impl TypeWalk for CallableSig {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
struct TyBuilder {}
|
||||||
|
|
||||||
|
impl TyBuilder {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
impl Ty {
|
impl Ty {
|
||||||
pub fn unit() -> Self {
|
pub fn unit() -> Self {
|
||||||
TyKind::Tuple(0, Substitution::empty(&Interner)).intern(&Interner)
|
TyKind::Tuple(0, Substitution::empty(&Interner)).intern(&Interner)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue