Skip to content

Commit c947489

Browse files
committed
w
1 parent fc73803 commit c947489

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/rustc_middle/src/ty/context.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,8 @@ impl<'tcx> Interner for TyCtxt<'tcx> {
596596
self.coroutine_is_async_gen(coroutine_def_id)
597597
}
598598

599+
// We don't use `TypingEnv` here as it's only defined in `rustc_middle` and
600+
// `rustc_next_trait_solver` shouldn't have to know about it.
599601
fn layout_is_pointer_like(
600602
self,
601603
typing_mode: ty::TypingMode<'tcx>,

0 commit comments

Comments
 (0)