Skip to content

Part of #7081: Fold remaining typeck's visit envs into visitor structs #9463

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

Merged

Conversation

pnkfelix
Copy link
Member

r? anyone

Also got rid of a bit of @mut allocation. (Though not the monster that is @mut FnCtxt; that case is documented already on #7081; if we attack it, it will probably be its own ticket, not part of #7081.)

bors added a commit that referenced this pull request Sep 24, 2013
…-typeck, r=huonw

r? anyone

Also got rid of a bit of `@mut` allocation.  (Though not the monster that is `@mut FnCtxt`; that case is documented already on #7081; if we attack it, it will probably be its own ticket, not part of #7081.)
@bors bors closed this Sep 24, 2013
@bors bors merged commit 0e95c34 into rust-lang:master Sep 24, 2013
djkoloski pushed a commit to djkoloski/rust that referenced this pull request Sep 21, 2022
djkoloski pushed a commit to djkoloski/rust that referenced this pull request Sep 21, 2022
Don't panic on invalid shift while constfolding

Instead of panicking on invalid shifts while folding constants we simply give up. Fixes rust-lang#9463

Notice the "attempt to shift right by `1316134912_u32`", which seems weird. AFAICS it comes from rustc itself.

changelog: none
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

Successfully merging this pull request may close these issues.

3 participants