-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE on a combination of type params, indexing a method and matching #16401
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
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Comments
Backtrace:
|
Reduced test case: extern crate syntax;
use syntax::codemap;
fn main() {
match () {
codemap::Spanned { node: 0 } => (),
_ => unreachable!()
}
} |
bors
added a commit
that referenced
this issue
Aug 17, 2014
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Jan 21, 2024
Expand lint tables && make clippy happy 🎉 This PR expands the lint tables on `./Cargo.toml` and thereby makes `cargo clippy` exit successfully! 🎉 Fixes rust-lang#15918 ## How? In the beginning there are some warnings for rustc. Next, and most importantly, there is the clippy lint table. There are a few sections in there. First there are the lint groups. Second there are all lints which are permanently allowed with the reasoning why they are allowed. Third there is a huge list of temporarily allowed lints. They should be removed in the mid-term, but incur a substantial amount of work, therefore they are allowed for now and can be worked on bit by bit. Fourth there are all lints which should warn. Additionally there are a few allow statements in the code for lints which should be permanently allowed in this specific place, but not in the whole code base. ## Follow up work - [ ] Run clippy in CI - [ ] Remove tidy test (at least `@Veykril` wrote this in rust-lang#15017) - [ ] Work on temporarily allowed lints
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Jan 21, 2024
Work through temporarily allowed clippy lints, part 1 This is the first batch of not allowing but actually fixing the clippy lints. Each commit removes one lint from the lint table and then fixes the resulting warnings. Follow-up to rust-lang#16401
matthiaskrgr
pushed a commit
to matthiaskrgr/rust
that referenced
this issue
Feb 5, 2024
internal: Add `clippy` to CI Follow-up to rust-lang#16401
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Input:
Output:
The text was updated successfully, but these errors were encountered: