• J
    use trait rather than fns · 154ca083
    John Clements 提交于
    please note the snapshot-waiting unpleasantness. I'm
    unable to use the traditional #[cfg(stage0)] mechanism
    to swap the new style in for later compiler stages,
    because macros invocations in method positions cause
    the parser to choke before cfg can strip it out.
    
    Parenthetical note: this problem wouldn't arise with
    an interleaved parsing/expansion....
    154ca083
ast_util.rs 25.1 KB