-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
ICE with non-ascii byte string in #[path] attribute #81208
Comments
Assigning |
searched nightlies: from nightly-2020-12-01 to nightly-2021-01-21 It's #78837 cc @petrochenkov bisected with cargo-bisect-rustc v0.5.2Host triple: x86_64-unknown-linux-gnu cargo bisect-rustc 2020-12-1 --end 2021-01-21 --preserve --regress=ice -- check |
I spent some time looking at this.
|
Why would the assert be compiled away in stable but not beta and nightly? I'm pretty sure the issue here is that the PR that causes this ICE was merged for 1.50 (which is the current beta version), not 1.49 (which is the current stable). |
Am I wrong to understand that Regardless, a small patch to remove that assertion would get around the ICE without major negative impact (the |
I'm not sure if that gets rid of |
@wesleywiser taking over, I've figured out the problem. |
Re-opening because this still affects beta and the PR needs to be backported. |
…etrochenkov Handle `Span`s for byte and raw strings and add more detail CC rust-lang#81208.
…etrochenkov Handle `Span`s for byte and raw strings and add more detail CC rust-lang#81208.
The fix landed in 1.51.0, and I cherry-picked a fix for the 1.50.0 stable branch. If the cherry-pick is accepted by CI then we can close this issue! |
…lbini Rust 1.50.0 stable release This PR builds the artifacts for the 1.50.0 stable release, and: * Cherry-picks e4e460b to fix rust-lang#81208, as recommended in rust-lang#81337 (comment). * Backports the release notes of 1.49.0 and 1.50.0. r? `@ghost` cc `@rust-lang/release`
CI passed on the test runner in the 1.50.0 promotion, but it timed out on an unrelated builder, so the fix worked! Closing this. |
Code
Meta
Also tested on
rustc 1.49.0 (e1884a8e3 2020-12-29)
andrustc 1.50.0-beta.6 (ea20aa255 2021-01-14)
, it errored without ICEing on 1.49 and ICEd on 1.50 so@rustbot modify labels: +regression-from-stable-to-beta
Error output
Backtrace
The text was updated successfully, but these errors were encountered: