Skip to content

check_unused in rustc_resolve references missing check_crate fn #119787

Closed
@mj10021

Description

@mj10021

Location

compiler/rustc_resolve/src/check_unused.rs

Summary

on line 23 of check_crate is referenced

// - `check_crate` finally emits the diagnostics based on the data generated

but I cannot find a corresponding function, I believe the function that it is supposed to be referring to is check_unused on line 283

pub(crate) fn check_unused(&mut self, krate: &ast::Crate) {

Metadata

Metadata

Assignees

Labels

A-docsArea: Documentation for any part of the project, including the compiler, standard library, and tools

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions