Comments (20)
What it is is a feature gated feature ICEing without the feature gate, so we would see it ICE on stable if untreated. This means it is a higher priority ICE than an ICE that is only reachable with feature gates.
We have not used "regression" as a term for "error -> ICE" changes, as by definition that'a true for any ICE that does not require feature gates. If we flagged it as a regression, that would flood and taint the actually problematic regressions.
We do flag these as regressions if there is no error before the ICE, as the user then has no information on how to fix it.
So while @matthiaskrgr is technically correct, in practice we don't and shouldn't use this terminology
from rust.
exactly, unless it gets fixed in time :)
from rust.
maybe internal features should just hard abort compilation if they aren't set
from rust.
While checkout out this ice (which does not require a feature gate btw, so potential beta-to-stable regression, which is inconvenient
What do you mean? Why would this beta a beta-to-stable regression? It regressed with #107606.
from rust.
cc @oli-obk pattern types need a real tracking issue, and you need to delay a span bug here rather than ICE
from rust.
right now: beta -> nightly regression
once nightly gets promoted to beta: stable -> beta regression
once beta gets promoted to stable: stable -> stable regression?
from rust.
yes? but you can say that about every single regression that ever gets filed lol
from rust.
I don't see the purpose of pointing out that this is a potential beta regression before it has even landed on nightly, unless there's some reason that this is particularly difficult to fix, particularly affects user-facing code, or we expect it to slip the beta promotion for some reason.
from rust.
Well, there are a few cases where feature gates actually do work and prevent crashes on stable 🙃
from rust.
might also solve some of the internal-feature ices we are getting from time to time
from rust.
...I do not see how it would be a regression, because we can safely bet on no one requiring the pattern_type!
macro before the feature's library API landed.
The code did not travel back in time to 1.77 compilers and suddenly become usable stable API.
from rust.
its a regression because the compiler now crashes/ICEs where it would previously just show an error message.
from rust.
please show me the codebase that regressed.
from rust.
from rust.
code that was not committed until April 8th, thus incapable of regressing on stable, yes.
from rust.
ah yes not yet. this is why I wrote so potential beta-to-stable regression, which is inconvenient
;)
from rust.
If it arrived on 1.79 on stable, it would be code that, since the moment it has been useful to write, has always ICEd. 1.79 cannot retrocausally regress code, unless you have a TARDIS or somesuch.
from rust.
I it was code that did not ICE on 1.78, and now ICEs on 1.79, so that makes it a regression.
from rust.
It was code that did not exist in this world on 1.78. It didn't exist in some timeless platonic realm of Forms. No actual programs were harmed in the making of this music video.
from rust.
I suppose if you insist we can call them "regressions" when they involve code samples that just came into being, but I wish to know what I should call it when my actual tests fail from version to version of rustc and I have to spend hours bisecting the issue and figuring out where in the codebase it has gone wrong and fixing the problem before the new version comes out, either in the code or in rustc. Because it sure isn't a just-fabricated problem with just-fabricated code, it's something that matters in code that is supposed to build and work on the latest stable Rust version.
from rust.
Related Issues (20)
- Imports of legacy modules with numeric constants do not get flagged as unused when the corresponding type is used in the code HOT 1
- When using `Box<self>` in first method parameter, the error output provides the wrong type in help message HOT 1
- `IoSlice`: the `Deref` impl is too restrictive on the lifetime of the slice, an alternative is needed. HOT 1
- Trait coherency regression in 1.78 HOT 3
- Type inference not working well with ptr mutability HOT 2
- GetSystemTimePreciseAsFileTime HOT 3
- Subpar documentation for ptr-to-ref conversion methods
- Compiler Panics ,when I use Ractor Framework HOT 4
- 1.78.0 & WASM - panicked at dlmalloc.rs: assertion failed: psize <= size + max_overhead HOT 5
- False positives from invalid_reference_casting HOT 6
- Nested argument mismatch could suggest moving extra parameter outside parenthesis HOT 3
- Explain the difference between Once(Lock|Cell) and Lazy(Lock|Cell) in the docs HOT 2
- ICE: `Result::unwrap()` on an `Err` value: Sorts(ExpectedFound { ... } HOT 1
- rustfmt eats attributes in inline const blogs HOT 2
- Sometimes 'Σ' is not handled correctly in str.to_lowercase() HOT 2
- Compiler Crash with "Hello world" on latest nightly (aarch64) HOT 2
- docs: Hermit targets link to wrong GitHub org
- Unable to write blanket impl for subtrait on RPITIT trait HOT 1
- Constant evaluation cannot have code coverage instrumentation HOT 9
- I wonder what rustc's command to call the linker looks like when it ends up HOT 9
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.