Comments (4)
Is there an actual panic message? Your log starts at the backtrace, but the message, file, and line info is missing
from rust.
Is there an actual panic message? Your log starts at the backtrace, but the message, file, and line info is missing
@oli-obk I have added the error message to the description, HTH.
from rust.
minimal repro:
#![feature(rustc_attrs)]
#![feature(effects)]
#![feature(const_for)]
#![feature(const_mut_refs)]
#![feature(const_trait_impl)]
#![feature(staged_api)]
#![stable(feature = "rust1", since = "1.0.0")]
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_stable(feature = "const_int_pow", since = "1.50.0")]
pub const fn pow() {
for _ in 0..42 {}
}
basically what we want to prevent is the usage of unstable const features in a const_stable function. So instead of looking for missing globally set features, we actually need to look for rustc_allow_const_fn_unstable
instead
cc @compiler-errors for the funny ICE message
from rust.
I think we can close this issue by changing the ICE message and making it print more information so it can actually be debugged.
from rust.
Related Issues (20)
- tools depending on rustc crates can't build with `rust.download-rustc=true` and `llvm.download-ci-llvm=false` options HOT 3
- Intrinsics declared with wrong arg count ICE HOT 5
- compiletest: `run-rustfix` and `revisions` have broken interactions
- Greek question mark causes ICE HOT 2
- Lint against instantly-dangling pointers like `String::with_capacity(MAX_PATH).as_mut_ptr()` HOT 8
- `yield` without value from a `gen` block HOT 17
- Tracking Issue for stabilizing the sanitizers (e.g., AddressSanitizer, LeakSanitizer, MemorySanitizer, ThreadSanitizer) HOT 2
- Tracking issue for reviewing and moving sanitizers into a compiler crate (i.e., `rustc_sanitizers`) HOT 2
- Debuginfo tests sometimes run with the wrong Python version on MacOS HOT 8
- New error on nightly 'overflow evaluating the requirement' HOT 1
- Codegen significantly worse when using u128 rather than two u64 HOT 3
- ICE: `No HirID for DefId(...)` with feature `generic_assert` HOT 2
- Nonsensical suggested type using chumsky select! (E0284) HOT 4
- Confusing error message on using `step_by` and `take` on infinite iterator
- ICE: kcfi: `expected item, found (root_crate)` HOT 1
- ICE: kcfi: `unexpected parent of trait or impl item or item not found: ForeignMod` HOT 1
- ICE: kcfi: `cannot get associated-item of DefKey..` HOT 3
- patterns: wrong tracking issue? HOT 20
- Tracking Issue for pattern types HOT 1
- Async closure internal compiler error HOT 2
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.