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

Failed get in util::ppaux::re_scope_id_to_str, followed by ICE #2586

Closed
lkuper opened this issue Jun 13, 2012 · 4 comments
Closed

Failed get in util::ppaux::re_scope_id_to_str, followed by ICE #2586

lkuper opened this issue Jun 13, 2012 · 4 comments
Assignees
Labels
A-lifetimes Area: Lifetimes / regions A-pretty Area: Pretty printing (including `-Z unpretty`) I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
Milestone

Comments

@lkuper
Copy link
Contributor

lkuper commented Jun 13, 2012

Gist of the backtrace: https://gist.github.com/2926927

This came up because I had set RUST_LOG=rustc::middle::typeck::infer=3 in order to debug an unrelated issue in infer, and turning logging on for infer caused this.

@ghost ghost assigned nikomatsakis Jun 13, 2012
@nikomatsakis
Copy link
Contributor

the problem here is the synthesized expressions created for predicates in the type check fn check_constraints(). they don't have a real expression id so there is no corresponding entry in the ast_map. this is pretty sketchy code to begin with, so I guess I'd be inclined to change that code rather than the print-out.

@nikomatsakis
Copy link
Contributor

on the other hand, that'd be hard. so maybe I'll just make the printouts not fail when they find something unexpected but instead print out a less-than-useful string.

@nikomatsakis
Copy link
Contributor

or maybe take the VERY EASY path and remove the preconditions from core::result::iter2

@nikomatsakis
Copy link
Contributor

Fixed in commit 41a21f0, which removed current incarnation of typestate.

flip1995 pushed a commit to flip1995/rust that referenced this issue Jul 14, 2020
…hearth

Deprecate regex_macro lint

Closes rust-lang#2586

changelog: Deprecate regex_macro lint
RalfJung pushed a commit to RalfJung/rust that referenced this issue Oct 22, 2022
remove FFI support for macOS

We're only testing this on Linux, and `@thomcc` reports that libffi on macOS is a pain, so let's just disable this for now.
Aaron1011 pushed a commit to Aaron1011/rust that referenced this issue Jan 6, 2023
remove FFI support for macOS

We're only testing this on Linux, and `@thomcc` reports that libffi on macOS is a pain, so let's just disable this for now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lifetimes Area: Lifetimes / regions A-pretty Area: Pretty printing (including `-Z unpretty`) I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
Projects
None yet
Development

No branches or pull requests

2 participants