rust/src/test
bors 12e6b53744 Auto merge of #45711 - tirr-c:unicode-span, r=estebank
Display spans correctly when there are zero-width or wide characters

Hopefully...
* fixes #45211
* fixes #8706

---

Before:
```
error: invalid width `7` for integer literal
  --> unicode_2.rs:12:25
   |
12 |     let _ = ("a̐éö̲", 0u7);
   |                         ^^^
   |
   = help: valid widths are 8, 16, 32, 64 and 128

error: invalid width `42` for integer literal
  --> unicode_2.rs:13:20
   |
13 |     let _ = ("아あ", 1i42);
   |                    ^^^^
   |
   = help: valid widths are 8, 16, 32, 64 and 128

error: aborting due to 2 previous errors
```

After:
```
error: invalid width `7` for integer literal
  --> unicode_2.rs:12:25
   |
12 |     let _ = ("a̐éö̲", 0u7);
   |                     ^^^
   |
   = help: valid widths are 8, 16, 32, 64 and 128

error: invalid width `42` for integer literal
  --> unicode_2.rs:13:20
   |
13 |     let _ = ("아あ", 1i42);
   |                      ^^^^
   |
   = help: valid widths are 8, 16, 32, 64 and 128

error: aborting due to 2 previous errors
```

Spans might display incorrectly on the browser.

r? @estebank
2017-11-04 23:09:19 +00:00
..
codegen Avoid unnecessary copies of arguments that are simple bindings 2017-10-26 12:54:34 +02:00
codegen-units rustc: Handle #[inline(always)] at -O0 2017-10-11 17:12:29 -07:00
compile-fail Auto merge of #45394 - davidtwco:rfc-2008, r=petrochenkov 2017-11-04 18:07:07 +00:00
compile-fail-fulldeps Add several lints into unused lint group 2017-10-29 22:14:23 +03:00
debuginfo Implement display_hint in gdb pretty printers 2017-10-06 13:05:53 -06:00
incremental [Syntax Breaking] Rename DefaultImpl to AutoImpl 2017-11-03 16:13:20 -02:00
mir-opt replace Add by tuple 2017-11-02 20:25:38 +03:00
parse-fail Parse auto traits the same as traits. 2017-11-03 16:13:22 -02:00
pretty Fix unsafe auto trait pretty print. 2017-11-03 16:13:23 -02:00
run-fail rustc_typeck: use subtyping on the LHS of binops. 2017-10-31 17:34:46 +02: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 trait future compatibility lint 2017-11-03 16:13:21 -02:00
run-pass Auto merge of #45394 - davidtwco:rfc-2008, r=petrochenkov 2017-11-04 18:07:07 +00:00
run-pass-fulldeps Add several lints into unused lint group 2017-10-29 22:14:23 +03:00
run-pass-valgrind Add a run-pass-valgrind test for vecdeque issue 2017-09-24 10:56:08 -07:00
rustdoc Rollup merge of #45746 - GuillaumeGomez:methods-doc-test, r=steveklabnik 2017-11-04 13:49:33 +08:00
ui Auto merge of #45711 - tirr-c:unicode-span, r=estebank 2017-11-04 23:09:19 +00:00
ui-fulldeps Add several lints into unused lint group 2017-10-29 22:14:23 +03:00
COMPILER_TESTS.md Merge ui/README.md into COMPILER_TESTS.md and describe how custom UI normalization works. 2017-07-11 16:57:53 +08:00