rust/src/test
bors d398eb76ae auto merge of #16419 : huonw/rust/pretty-expanded-hygiene, r=pnkfelix
Different Identifiers and Names can have identical textual representations, but different internal representations, due to the macro hygiene machinery (syntax contexts and gensyms). This provides a way to see these internals by compiling with `--pretty expanded,hygiene`.

This is useful for debugging & hacking on macros (e.g. diagnosing https://github.com/rust-lang/rust/issues/15750/https://github.com/rust-lang/rust/issues/15962 likely would've been faster with this functionality).

E.g. 

```rust
#![feature(macro_rules)]
// minimal junk
#![no_std]

macro_rules! foo {
    ($x: ident) => { y + $x }
}

fn bar() {
    foo!(x)
}
```
```rust
#![feature(macro_rules)]
// minimal junk
#![no_std]


fn bar /* 61#0 */() { y /* 60#2 */ + x /* 58#3 */ }
```
2014-08-30 10:51:26 +00:00
..
auxiliary Add lint groups; define built-in lint groups bad_style and unused 2014-08-30 09:12:04 +12:00
bench Unify non-snake-case lints and non-uppercase statics lints 2014-08-30 09:10:05 +12:00
codegen
compile-fail Add lint groups; define built-in lint groups bad_style and unused 2014-08-30 09:12:04 +12:00
compile-fail-fulldeps Add lint groups; define built-in lint groups bad_style and unused 2014-08-30 09:12:04 +12:00
debuginfo
pretty
run-fail
run-make auto merge of #16419 : huonw/rust/pretty-expanded-hygiene, r=pnkfelix 2014-08-30 10:51:26 +00:00
run-pass Fix formatting, update copyright dates 2014-08-29 23:44:08 -04:00
run-pass-fulldeps Add lint groups; define built-in lint groups bad_style and unused 2014-08-30 09:12:04 +12:00