rust/src
Manish Goregaokar 26e22b8e2e Rollup merge of #35080 - jonathandturner:fix_numeric_expected_found, r=nikomatsakis
Rename _ to {integer} and {float} for unknown numeric types

This PR renames _ to {integer} or {float} for unknown numeric types, to help people parse error messages that have numeric types that haven't been nailed down.

Example:
```rust
fn main() {
    let x: String = 4;
}
```

Before:
```
error[E0308]: mismatched types
 --> quicktest.rs:2:21
  |
2 |     let x: String = 4;
  |                     ^ expected struct `std::string::String`, found integral variable
  |
  = note: expected type `std::string::String`
  = note:    found type `_`

error: aborting due to previous error
```

after:
```
error[E0308]: mismatched types
 --> quicktest.rs:2:21
  |
2 |     let x: String = 4;
  |                     ^ expected struct `std::string::String`, found integral variable
  |
  = note: expected type `std::string::String`
  = note:    found type `{integer}`

error: aborting due to previous error
```
```
2016-07-30 13:44:46 +05:30
..
bootstrap Auto merge of #34715 - scottcarr:mir-test, r=nikomatsakis 2016-07-21 19:44:59 -07:00
build_helper Fix issue where rustbuild expected msvc to have ar 2016-06-16 08:38:06 -04:00
compiler-rt@ac3d1cda61 update compiler-rt with iOS linking warnings workaround 2016-07-04 19:11:03 +02:00
doc Rollup merge of #35103 - brettcannon:patch-1, r=Manishearth 2016-07-29 11:57:54 +02:00
driver
etc Escape fewer Unicode codepoints in Debug impl of str 2016-07-23 00:18:44 +02:00
grammar Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
jemalloc@e058ca6616 Update jemalloc to include a fix for startup issues on OSX 10.12 2016-07-08 14:15:04 +09:00
liballoc std: Ignore tests where threads outlive main 2016-07-22 16:29:36 -07:00
liballoc_jemalloc Fix issue where rustbuild expected msvc to have ar 2016-06-16 08:38:06 -04:00
liballoc_system std: Use memalign, not posix_memalign, on Android 2016-05-24 15:21:01 -07:00
libarena
libbacktrace
libcollections Rollup merge of #35050 - knight42:improve-fmt-doc, r=steveklabnik 2016-07-29 11:57:53 +02:00
libcollectionstest Rollup merge of #35049 - knight42:add-test, r=alexcrichton 2016-07-30 13:44:46 +05:30
libcore Rollup merge of #35058 - jethrogb:no_panic_abs, r=alexcrichton 2016-07-30 13:44:46 +05:30
libcoretest Rename char::escape to char::escape_debug and add tracking issue 2016-07-28 02:20:49 +02:00
libflate run rustfmt on libflate folder 2016-06-07 21:29:35 +05:30
libfmt_macros format: remove all implicit ref handling outside of libfmt_macros 2016-07-14 02:54:47 +08:00
libgetopts
libgraphviz
liblibc@b0d62534d4 libc: fast-forward for solaris RTLD_DEFAULT 2016-07-11 21:43:31 -07:00
liblog rustfmt on liblog 2016-05-27 08:06:17 +05:30
libpanic_abort mk: Prepare for a new stage0 compiler 2016-05-31 16:11:49 -07:00
libpanic_unwind Auto merge of #35032 - vadimcn:rusty-ehabi, r=alexcrichton 2016-07-29 20:29:43 -07:00
librand prefer if let to match with None => {} arm in some places 2016-07-03 16:27:02 -07:00
librbml
librustc Rollup merge of #35080 - jonathandturner:fix_numeric_expected_found, r=nikomatsakis 2016-07-30 13:44:46 +05:30
librustc_back Auto merge of #34980 - cardoe:expose-target-options, r=alexcrichton 2016-07-28 23:18:52 -07:00
librustc_bitflags run rustfmt on librustc_bitflags folder 2016-06-05 13:01:11 +05:30
librustc_borrowck prefer if let to match with None => {} arm in some places 2016-07-03 16:27:02 -07:00
librustc_const_eval Auto merge of #34907 - arielb1:found-parse-error, r=nikomatsakis 2016-07-27 14:28:06 -07:00
librustc_const_math Allow truncating constants to 16-bit u/isize 2016-06-10 13:07:04 -04:00
librustc_data_structures Auto merge of #34605 - arielb1:bug-in-the-jungle, r=eddyb 2016-07-02 12:25:29 -07:00
librustc_driver Auto merge of #34842 - cgswords:attr_enc, r=nrc 2016-07-29 16:26:38 -07:00
librustc_errors rustc_errors: fix a few bugs 2016-07-22 22:47:38 +03:00
librustc_incremental Auto merge of #34842 - cgswords:attr_enc, r=nrc 2016-07-29 16:26:38 -07:00
librustc_lint Adressed PR comments. 2016-07-25 14:27:10 -07:00
librustc_llvm prefer if let to match with None => {} arm in some places 2016-07-03 16:27:02 -07:00
librustc_metadata Auto merge of #34842 - cgswords:attr_enc, r=nrc 2016-07-29 16:26:38 -07:00
librustc_mir Auto merge of #34715 - scottcarr:mir-test, r=nikomatsakis 2016-07-21 19:44:59 -07:00
librustc_passes refactor constant evaluation error reporting 2016-07-22 14:32:56 +03:00
librustc_platform_intrinsics Add intrinsics for x86 bit manipulation instruction sets: BMI 1.0, BMI 2.0, and TBM. 2016-06-22 16:34:10 +02:00
librustc_plugin Fix Cargo.tomls 2016-06-27 18:30:46 +00:00
librustc_privacy Cleanup of some pattern related code 2016-07-08 12:36:45 +03:00
librustc_resolve Rollup merge of #35063 - jseyfried:avoid_importing_inaccessible_names, r=nrc 2016-07-30 13:44:46 +05:30
librustc_save_analysis Fixed missing comma in the csv dumper. 2016-07-25 11:46:59 +02:00
librustc_trans Auto merge of #35032 - vadimcn:rusty-ehabi, r=alexcrichton 2016-07-29 20:29:43 -07:00
librustc_typeck address review comments 2016-07-23 00:03:19 +03:00
librustc_unicode Auto merge of #34485 - tbu-:pr_unicode_debug_str, r=alexcrichton 2016-07-28 11:20:33 -07:00
librustdoc Auto merge of #34842 - cgswords:attr_enc, r=nrc 2016-07-29 16:26:38 -07:00
libserialize prefer if let to match with None => {} arm in some places 2016-07-03 16:27:02 -07:00
libstd Rollup merge of #35087 - GuillaumeGomez:fs_docs, r=steveklabnik 2016-07-29 11:57:54 +02:00
libsyntax Auto merge of #34842 - cgswords:attr_enc, r=nrc 2016-07-29 16:26:38 -07:00
libsyntax_ext General MetaItem encapsulation rewrites. 2016-07-25 14:27:10 -07:00
libsyntax_pos Adressed PR comments. 2016-07-25 14:27:10 -07:00
libterm
libtest Use ptr::{null, null_mut} instead of 0 as *{const, mut} 2016-07-12 10:40:40 +02:00
libunwind Implement ARM personality routine in Rust. 2016-07-24 01:53:27 -07:00
llvm@7ca76af03b Update LLVM. 2016-07-08 10:42:48 -04:00
rt hoedown: fix trigger of -Werror=misleading-indentation 2016-05-31 21:38:29 +03:00
rtstartup run rustfmt on rtstartup folder 2016-05-29 21:04:21 +05:30
rust-installer@c37d3747da
rustc refactor constant evaluation error reporting 2016-07-22 14:32:56 +03:00
rustllvm Update LLVM. 2016-07-08 10:42:48 -04:00
test Rollup merge of #35080 - jonathandturner:fix_numeric_expected_found, r=nikomatsakis 2016-07-30 13:44:46 +05:30
tools Auto merge of #34715 - scottcarr:mir-test, r=nikomatsakis 2016-07-21 19:44:59 -07:00
stage0.txt rustc: Update stage0 to beta-2016-07-06 2016-07-06 09:29:15 -07:00