-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
non_exhaustive_omitted_patterns should not warn matches! macro #117304
Labels
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
F-non_exhaustive_omitted_patterns_lint
`#![feature(non_exhaustive_omitted_patterns_lint)]`
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
Comments
rustbot
added
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
F-non_exhaustive_omitted_patterns_lint
`#![feature(non_exhaustive_omitted_patterns_lint)]`
labels
Oct 28, 2023
This feels like something that could be easily solved by just adding an |
fmease
added
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
and removed
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
labels
Oct 28, 2023
I attempted to add the
@rustbot label -E-easy |
rustbot
removed
the
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
label
Oct 30, 2023
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Jan 26, 2024
…stmt-expr-attributes, r=petrochenkov Make `#![allow_internal_unstable(..)]` work with `stmt_expr_attributes` This is a necessary first step to fixing rust-lang#117304, as explained in rust-lang#117304 (comment). `@rustbot` label T-compiler
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Jan 26, 2024
Rollup merge of rust-lang#117420 - Jules-Bertholet:internal-unstable-stmt-expr-attributes, r=petrochenkov Make `#![allow_internal_unstable(..)]` work with `stmt_expr_attributes` This is a necessary first step to fixing rust-lang#117304, as explained in rust-lang#117304 (comment). `@rustbot` label T-compiler
github-actions bot
pushed a commit
to rust-lang/miri
that referenced
this issue
Jan 31, 2024
…-attributes, r=petrochenkov Make `#![allow_internal_unstable(..)]` work with `stmt_expr_attributes` This is a necessary first step to fixing #117304, as explained in rust-lang/rust#117304 (comment). `@rustbot` label T-compiler
lnicola
pushed a commit
to lnicola/rust-analyzer
that referenced
this issue
Apr 7, 2024
…-attributes, r=petrochenkov Make `#![allow_internal_unstable(..)]` work with `stmt_expr_attributes` This is a necessary first step to fixing #117304, as explained in rust-lang/rust#117304 (comment). `@rustbot` label T-compiler
RalfJung
pushed a commit
to RalfJung/rust-analyzer
that referenced
this issue
Apr 27, 2024
…-attributes, r=petrochenkov Make `#![allow_internal_unstable(..)]` work with `stmt_expr_attributes` This is a necessary first step to fixing #117304, as explained in rust-lang/rust#117304 (comment). `@rustbot` label T-compiler
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
F-non_exhaustive_omitted_patterns_lint
`#![feature(non_exhaustive_omitted_patterns_lint)]`
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: no warning
Instead, this happened:
playground
Meta
rustc --version --verbose
:@rustbot label +F-non_exhaustive_omitted_patterns_lint
The text was updated successfully, but these errors were encountered: