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
get rid of outdated logging functions in util::common #2553
The log_* functions in util::common predate the logging macros and are used in only a handful of places in the compiler. Some aren't being used at all. We should get rid of them and replace the few places they're being used with #debug and #error.
A debug_expr macro (for example) would be nice. It's a bit clunky to have to type out #debug("visiting %s", expr_to_str(e)); or whatever all the time. Then debug_expr could be governed by the same logging flags that affect whether #debug and #error macro calls print their results.
Activity
catamorphism commentedon Jun 8, 2012
A
debug_exprmacro (for example) would be nice. It's a bit clunky to have to type out#debug("visiting %s", expr_to_str(e));or whatever all the time. Thendebug_exprcould be governed by the same logging flags that affect whether#debugand#errormacro calls print their results.lkuper commentedon Jun 9, 2012
@catamorphism I'm not sure how widely used it would be, considering how little-used these were, but you could always open an issue for
#debug_exprAuto merge of rust-lang#2553 - RalfJung:macos-is-a-pain, r=RalfJung
Fix flaky tests (rust-lang#2553)
Merge pull request rust-lang#2553 from ali90h/fix-stab-guide-gating-v2