Comments (8)
Moving to rust-lang/rust in that case, since it sounds like fixing this requires changes in the compiler and we can't do much about that on the clippy side
from rust.
Here is the full ICE output:
rustc-ice-2024-03-13T16_44_18-316116.txt
from rust.
Turns out I was missing diagnostic_namespace
in my deny list. Not sure if that should be an ICE or not, feel free to close if that is expected behavior.
This wasn't a fix, the behavior still happened.
from rust.
Does this specifically only happen with clippy, or does this ICE also happen with a regular cargo check
/cargo build
? The backtrace and the fact that these are all rustc lints/features makes me think it's a bug in the compiler
from rust.
cargo check
and cargo build
both produce the same ICE.
from rust.
From what I can tell, MCVE is
#![deny(unknown_or_malformed_diagnostic_attributes)]
or, alternatively,
#![feature(diagnostic_namespace)]
#![deny(unknown_or_malformed_diagnostic_attributes)]
from rust.
searched nightlies: from nightly-2024-01-01 to nightly-2024-03-12
regressed nightly: nightly-2024-03-09
searched commit range: 9c3ad80...46b180e
regressed commit: 9823f17
bisected with cargo-bisect-rustc v0.6.8
Host triple: x86_64-unknown-linux-gnu
Reproduce with:
cargo bisect-rustc -vv --preserve --start=2024-01-01 --end=2024-03-12 --access=github --regress ice
Probably #119888, cc @weiznich
from rust.
I filled #122482 to address this
from rust.
Related Issues (20)
- Option::get_or_insert(_with) incorrectly documented as experimental HOT 2
- ICE: transmute: called `Result::unwrap()` on an `Err` value: ReferencesError(ErrorGuaranteed(())) HOT 11
- Outdated `static.rust-lang.org` documentation from 2014 HOT 2
- Сompiler can't remove panic locations if they are not used in panic handler HOT 13
- Tracking Issue for `lazy_get`
- [ICE] adding a def'n for node-id NodeId(130468) and def kind AnonConst but a previous def'n exists HOT 3
- #[inline(never)] does not work for async functions HOT 3
- `unreachable_patterns` fires on match arm that can't be removed. HOT 13
- Compiler doesn't realize that all match cases are covered HOT 3
- Error message suggests to use a Box to wrap dyn Trait when it's unnecessary HOT 1
- Compiler can't infer &str type when &String is inserted first in a collection with tuples HOT 1
- Integer literal type inference causes weird behavior including strange compiler diagnostic (but the suggestion is working).
- `dylib-soname` run-make test is not language independant HOT 3
- Add some docs for tidy
- ICE with higher order associated types HOT 5
- Tracking Issue for unbounded_shifts
- rust-analyzer compiler error (not issue with code) HOT 2
- Closure Fn* trait coercion removes other implementable Fn* traits HOT 3
- run-make: fix `run_make_support::fs::create_symlink` API and audit symlink usages in rmake.rs tests HOT 1
- run-make: audit tests that codegen for specific targets HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust.