You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Failed get in util::ppaux::re_scope_id_to_str, followed by ICE #2586
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.
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.
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.
Activity
nikomatsakis commentedon Jun 16, 2012
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 commentedon Jun 16, 2012
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 commentedon Jun 16, 2012
or maybe take the VERY EASY path and remove the preconditions from
core::result::iter2paper over #2586 by not failing when the key is not found
nikomatsakis commentedon Jul 16, 2012
Fixed in commit 41a21f0, which removed current incarnation of typestate.
Auto merge of rust-lang#5760 - phansch:deprecate-regex-macro, r=Manis…
Auto merge of rust-lang#2586 - RalfJung:ffi, r=RalfJung
Merge pull request rust-lang#2586 from ali90h/fix-microsoft-link-brok…
Merge rust-lang#2586