Skip to content

Commit 6155980

Browse files
authored
Merge pull request #20906 from ChayimFriedman2/opaques-ns
fix: Properly support opaques
2 parents 1e1c00f + 537b31b commit 6155980

File tree

28 files changed

+743
-501
lines changed

28 files changed

+743
-501
lines changed

.typos.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ trivias = "trivias"
3333
thir = "thir"
3434
jod = "jod"
3535
tructure = "tructure"
36+
taits = "taits"
3637

3738
[default.extend-identifiers]
3839
anc = "anc"

crates/hir-ty/src/autoderef.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pub fn autoderef<'db>(
3838
env: Arc<TraitEnvironment<'db>>,
3939
ty: Canonical<'db, Ty<'db>>,
4040
) -> impl Iterator<Item = Ty<'db>> + use<'db> {
41-
let mut table = InferenceTable::new(db, env);
41+
let mut table = InferenceTable::new(db, env, None);
4242
let ty = table.instantiate_canonical(ty);
4343
let mut autoderef = Autoderef::new_no_tracking(&mut table, ty);
4444
let mut v = Vec::new();

0 commit comments

Comments
 (0)