-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsC-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
I tried this code:
cargo add rsa
fn main() {
println!("Hello, world!");
rsa::sha2::Sha256;
}
error[E0433]: failed to resolve: could not find `sha2` in `rsa`
--> src/main.rs:5:10
|
5 | rsa::sha2::Sha256;
| ^^^^ could not find `sha2` in `rsa`
the cfg diagnostic is missing, although the code path for find_cfg_stripped
seems to be hit.
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsC-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.