rust/src/test
bors 8902936552 Auto merge of #21521 - defuz:interval-with-path, r=pnkfelix
Fixing #21475. Right now this code can not be parsed:

```rust
use m::{START, END};

fn main() {
    match 42u32 {
        m::START...m::END => {}, // error: expected one of `::`, `=>`, or `|`, found `...`
        _  => {},
    }
}

mod m {
  pub const START: u32 = 4;
  pub const END:   u32 = 14;
}
```

I fixed the parser and added test for this case, but now there are still problems with mixing literals and paths in interval:

```rust
    match 42u32 {
        0u32...m::END => {},       // mismatched types in range [E0031]
        m::START...59u32 => {},    // mismatched types in range [E0031]
        _  => {},
    }
}
```

I'll try fix this problem and need review.
2015-02-28 18:36:00 +00:00
..
auxiliary Rollup merge of #22875 - kmcallister:maceager, r=sfackler 2015-02-28 19:18:59 +05:30
bench Revert hacks and add test for LLVM aborts due to empty aggregates. 2015-02-26 16:44:07 +02:00
codegen librustc: Forbid private types in public APIs. 2014-09-22 20:05:45 -07:00
compile-fail Rollup merge of #22823 - kmcallister:fix-21370, r=huonw 2015-02-27 20:37:37 +05:30
compile-fail-fulldeps Update suffixes en masse in tests using perl -p -i -e 2015-02-18 09:10:10 -05:00
debuginfo rollup merge of #22286: nikomatsakis/variance-4b 2015-02-18 15:52:01 -08:00
parse-fail obsolete |&:| syntax 2015-02-27 21:01:22 -05:00
pretty Fix test fallouts 2015-02-22 02:14:27 +01:00
run-fail rollup merge of #22286: nikomatsakis/variance-4b 2015-02-18 15:52:01 -08:00
run-make Separate most of rustc::lint::builtin into a separate crate. 2015-02-28 15:33:59 +11:00
run-pass Auto merge of #21521 - defuz:interval-with-path, r=pnkfelix 2015-02-28 18:36:00 +00:00
run-pass-fulldeps Auto merge of #21774 - ejjeong:enable-test-for-android, r=alexcrichton 2015-02-17 19:35:12 +00:00
run-pass-valgrind Fallout: tests. As tests frequently elide things, lots of changes 2015-02-18 10:25:28 -05:00