-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.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
When compiling this crate on stable, there are no warnings, but on the latest nightly (15th of February), it finds this unreachable pattern which does not seem right:
warning: unreachable pattern
--> src/token_stream.rs:47:21
|
47 | Err(error) => Err(error)
| ^^^^^^^^^^
|
= note: #[warn(unreachable_patterns)] on by default
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.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.