-
Notifications
You must be signed in to change notification settings - Fork 13.4k
type validation failed: encountered NULL reference at [2].0 #56800
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
P-high
High priority
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
Cc @oli-obk |
Even more minimal example: fn main() {
let _ = &[("", ""); 3];
} |
Const eval is drunk (note the gap of relocations between the second and fourth element and again after the fourth elemen):
Validation is doing everything correctly |
pietroalbini
added a commit
to pietroalbini/rust
that referenced
this issue
Dec 20, 2018
…fJung Remove a wrong multiplier on relocation offset computation r? @RalfJung fixes rust-lang#56800
Mark-Simulacrum
added a commit
to Mark-Simulacrum/rust
that referenced
this issue
Dec 21, 2018
…fJung Remove a wrong multiplier on relocation offset computation r? @RalfJung fixes rust-lang#56800
pietroalbini
added a commit
to pietroalbini/rust
that referenced
this issue
Dec 21, 2018
…fJung Remove a wrong multiplier on relocation offset computation r? @RalfJung fixes rust-lang#56800
Centril
added a commit
to Centril/rust
that referenced
this issue
Dec 22, 2018
…fJung Remove a wrong multiplier on relocation offset computation r? @RalfJung fixes rust-lang#56800
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Dec 22, 2018
…fJung Remove a wrong multiplier on relocation offset computation r? @RalfJung fixes rust-lang#56800
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
P-high
High priority
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Minimized as best I could:
With
rustc 1.32.0-nightly (f4a421ee3 2018-12-13)
Full error:
The text was updated successfully, but these errors were encountered: