1
Fork 0
Co-authored-by: Rémy Rakic <remy.rakic+github@gmail.com>
This commit is contained in:
lcnr 2025-03-06 14:46:10 +01:00 committed by GitHub
parent 71d688bb72
commit 1fac14de23
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -485,7 +485,7 @@ impl<'a, 'b, 'tcx> Visitor<'tcx> for TypeVerifier<'a, 'b, 'tcx> {
#[instrument(level = "debug", skip(self))]
fn visit_body(&mut self, body: &Body<'tcx>) {
// We intentionally do not recursive into `body.required_consts` or
// We intentionally do not recurse into `body.required_consts` or
// `body.mentioned_items` here as the MIR at this phase should still
// refer to all items and we don't want to check them multiple times.