10BC0
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PostAnalysis
1 parent d4d5f9d commit 719ee8eCopy full SHA for 719ee8e
crates/hir-ty/src/layout.rs
@@ -182,7 +182,7 @@ pub fn layout_of_ty_ns_query<'db>(
182
};
183
let dl = &*target;
184
let cx = LayoutCx::new(dl);
185
- let infer_ctxt = interner.infer_ctxt().build(TypingMode::non_body_analysis());
+ let infer_ctxt = interner.infer_ctxt().build(TypingMode::PostAnalysis);
186
let cause = ObligationCause::dummy();
187
let ty = deeply_normalize(infer_ctxt.at(&cause, ParamEnv::empty()), ty).unwrap_or(ty);
188
let result = match ty.kind() {
0 commit comments