rust/src/test
Alex Ozdemir a82890e67b Clearer Error Message for Duplicate Definition
Clearer use of the error message and span labels to communicate
duplicaiton defitions/imports.

New error format:

```
error[E0428]: the name `Foo` is defined twice
 --> example.rs:2:1
  |
1 | trait Foo { }
  | ------------- previous definition of the trait `Foo` here
2 | struct Foo { }
  | ^^^^^^^^^^^^^^ `Foo` redefined here
  = note: `Foo` must be defined only once in the type namespace of this module

error: aborting due to previous error
```
2017-06-15 08:21:17 -07:00
..
codegen rustc_trans: do not store pair fields if they are ZSTs. 2017-06-06 21:13:13 +03:00
codegen-units Move Fn to module. 2017-06-09 19:07:25 -04:00
compile-fail Clearer Error Message for Duplicate Definition 2017-06-15 08:21:17 -07:00
compile-fail-fulldeps Clearer Error Message for Duplicate Definition 2017-06-15 08:21:17 -07:00
debuginfo Pretty-printers tests: gdbr -> gdb 2017-06-09 18:51:28 +03:00
incremental consider closures/ty-fn-defs when making trait selection keys 2017-06-12 17:23:21 -04:00
mir-opt move "ADT master drop flag" logic to open_drop_for_adt_contents 2017-05-28 10:43:24 +03:00
parse-fail Auto merge of #41990 - qnighy:disallow-underscore-suffix-for-string-like-literals, r=nikomatsakis 2017-06-06 02:56:17 +00:00
pretty Update pretty test for derive attributes 2017-02-05 12:22:29 +10:30
run-fail Unignore tests which work fine now. 2017-04-28 22:31:10 -06:00
run-fail-fulldeps Implement a file-path remapping feature in support of debuginfo and reproducible builds. 2017-04-26 15:44:02 +02:00
run-make Auto merge of #42433 - marco-c:profiling, r=alexcrichton 2017-06-14 08:46:14 +00:00
run-pass Merge crate collections into alloc 2017-06-13 23:37:34 -07:00
run-pass-fulldeps Merge crate collections into alloc 2017-06-13 23:37:34 -07:00
run-pass-valgrind Removes FIXMEs related to #22405 2017-01-31 21:27:13 -05:00
rustdoc Auto merge of #42608 - ollie27:rustdoc_variant_reexport, r=QuietMisdreavus 2017-06-13 08:54:23 +00:00
ui Add E0610 2017-06-12 01:47:01 +02:00
ui-fulldeps Introduce 'run-pass' header to 'ui' tests in compiletest. Fix issue #36516. 2017-06-02 23:28:22 +08:00
COMPILER_TESTS.md Move COMPILER_TESTS.md out of the root directory 2017-02-25 00:13:00 -06:00