-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-resolveArea: Name/path resolution done by `rustc_resolve` specificallyArea: Name/path resolution done by `rustc_resolve` specifically
Milestone
Description
When there is a single import statement that imports multiple idents, and one of them is not found, then the resulting error points to the use site, not the import site.
import http_parser::{http_parser, http_parser_settings, http_parser_execute}; // http_parser_execute is not in the http_parser module
....
http_parser_execute(addr_of(self.parser));
./parser.rs:68:12: 68:31 error: unresolved name: http_parser_execute
./parser.rs:68 http_parser_execute(addr_of(self.parser),
Metadata
Metadata
Assignees
Labels
A-resolveArea: Name/path resolution done by `rustc_resolve` specificallyArea: Name/path resolution done by `rustc_resolve` specifically