mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Rename some fields to their Chalk names
This commit is contained in:
parent
f57e2f5598
commit
3411fe3e84
11 changed files with 47 additions and 47 deletions
|
@ -143,7 +143,7 @@ pub(crate) fn trait_solve_query(
|
|||
log::info!("trait_solve_query({})", goal.value.value.display(db));
|
||||
|
||||
if let Obligation::Projection(pred) = &goal.value.value {
|
||||
if let TyKind::BoundVar(_) = &pred.projection_ty.parameters[0].interned(&Interner) {
|
||||
if let TyKind::BoundVar(_) = &pred.projection_ty.substitution[0].interned(&Interner) {
|
||||
// Hack: don't ask Chalk to normalize with an unknown self type, it'll say that's impossible
|
||||
return Some(Solution::Ambig(Guidance::Unknown));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue