mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Move things from traits
module to types
as well
This commit is contained in:
parent
508a1ecad3
commit
645a9c3a27
12 changed files with 107 additions and 110 deletions
|
@ -800,7 +800,7 @@ pub fn implements_trait_unique(
|
|||
let goal = generic_implements_goal(db, env, trait_, ty.clone());
|
||||
let solution = db.trait_solve(krate, goal);
|
||||
|
||||
matches!(solution, Some(crate::traits::Solution::Unique(_)))
|
||||
matches!(solution, Some(crate::Solution::Unique(_)))
|
||||
}
|
||||
|
||||
/// This creates Substs for a trait with the given Self type and type variables
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue