Skip to content
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

alias pass crashes when it needs to autoderef through multiple boxes #725

Closed
msullivan opened this issue Jul 21, 2011 · 0 comments
Closed

Comments

@msullivan
Copy link
Contributor

type quux = rec(int bar);

fn g(&int i) { }
fn f(@@quux foo) {
    g(foo.bar);
}

fn main() {}

Yields

rt: 8994:main:main:                   upcall fail 'non-exhaustive match failure', ../src/comp/middle/alias.rs:546

It is hitting a non-exhaustive match because only one of the boxes around foo is being pulled away.

@ghost ghost assigned marijnh Jul 21, 2011
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this issue Dec 12, 2017
Add MAP_ANONYMOUS to DragonFlyBSD and FreeBSD
bors pushed a commit to rust-lang-ci/rust that referenced this issue Oct 26, 2020
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.100 to 1.0.101.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](serde-rs/serde@v1.0.100...v1.0.101)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this issue Mar 7, 2023
… in one parameter. (rust-lang#725)

* Add a byref

* up

* no zlib

* link

* link

* link

* no supp

* remove noquote

* find z

* intf

* Fix

* intf

* clean

* add llvm print

* add llvm print

* add llvm print

* byref

* update path search

* update path search

* fix cmake

* fix cmake

* fix cmake

* Update

* Fix byref

* size

* bc

* fix build

* Default type reg

* More custom deriv interface

* Continuing

* up

* byref init

* Add byref

* fix bug

* Add bad diff ret

* Fix bug

* fixup

* fix aa

* addr comments

* fix inc

* Fix test

* add dag

* Update enzyme/Enzyme/EnzymeLogic.cpp

Co-authored-by: Tim Gymnich <timgymnich@me.com>

* Update EnzymeLogic.cpp

Co-authored-by: Tim Gymnich <timgymnich@me.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants