mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Extract built-in trait implementations to separate module
This untangles the builtin logic from the Chalk translation.
This commit is contained in:
parent
3376c08052
commit
176207f1e8
3 changed files with 219 additions and 127 deletions
|
@ -15,6 +15,7 @@ use super::{Canonical, GenericPredicate, HirDisplay, ProjectionTy, TraitRef, Ty,
|
|||
use self::chalk::{from_chalk, ToChalk};
|
||||
|
||||
pub(crate) mod chalk;
|
||||
mod builtin;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct TraitSolver {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue