rust/src/test
bors ba2e892249 Auto merge of #37447 - estebank:non-duplicate-definition-error, r=nrc
Show one error for duplicated type definitions

For the following code:

``` rustc
struct Bar;
struct Bar;

fn main () {
}
```

show

``` nocode
error[E0428]: a type named `Bar` has already been defined in this module
  --> src/test/compile-fail/E0428.rs:12:1
   |
11 | struct Bar;
   | ----------- previous definition of `Bar` here
12 | struct Bar;
   | ^^^^^^^^^^^

error: aborting due to previous error
```

instead of

``` nocode
error[E0428]: a type named `Bar` has already been defined in this module
  --> src/test/compile-fail/E0428.rs:12:1
   |
11 | struct Bar;
   | ----------- previous definition of `Bar` here
12 | struct Bar;
   | ^^^^^^^^^^^

error[E0428]: a value named `Bar` has already been defined in this module
  --> src/test/compile-fail/E0428.rs:12:1
   |
11 | struct Bar;
   | ----------- previous definition of `Bar` here
12 | struct Bar;
   | ^^^^^^^^^^^

error: aborting due to 2 previous errors
```

Fixes #35767.
2016-11-11 05:55:04 -08:00
..
codegen Auto merge of #36421 - TimNN:check-abis, r=alexcrichton 2016-10-25 21:49:59 -07:00
codegen-units Fix fallout in tests. 2016-09-27 06:43:51 +00:00
compile-fail Auto merge of #37447 - estebank:non-duplicate-definition-error, r=nrc 2016-11-11 05:55:04 -08:00
compile-fail-fulldeps Support #[macro_reexport]ing custom derives. 2016-11-10 11:19:34 +00:00
debuginfo Merge branch 'gdb-next-gen' of https://github.com/TimNN/rust into rollup 2016-11-05 10:51:34 -07:00
incremental Rollup merge of #37654 - michaelwoerister:test-let-ich, r=nikomatsakis 2016-11-09 20:51:19 +02:00
mir-opt update tests 2016-10-04 20:43:43 +03:00
parse-fail Auto merge of #37246 - goffrie:no-loop, r=jseyfried 2016-11-11 02:51:01 -08:00
pretty tests: fix fallout in pretty-printing output exact-match tests. 2016-11-10 01:44:53 +02:00
run-fail move overflow tests from rust-fail to run-pass 2016-10-30 12:04:57 -04:00
run-fail-fulldeps Move CrateConfig from Crate to ParseSess. 2016-10-29 07:52:58 +00:00
run-make tests: fix fallout in flowgraph graphviz comparison dot files. 2016-11-10 01:44:53 +02:00
run-pass Work around a borrow surviving too long (fixes #37686) 2016-11-10 14:43:46 +01:00
run-pass-fulldeps Auto merge of #37645 - jseyfried:fix_crate_var_in_custom_derives, r=nrc 2016-11-10 11:25:17 -08:00
run-pass-valgrind Fix some pretty printing tests 2016-10-18 23:23:40 +03:00
rustdoc rustdoc: Improve playground run buttons 2016-10-15 18:32:03 +01:00
ui Rollup merge of #37428 - estebank:generic-type-error-span, r=sanxiyn 2016-11-09 20:51:16 +02:00