rust/src/librustc/util
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
..
common.rs rustc: Update stage0 to beta-2016-07-06 2016-07-06 09:29:15 -07:00
fs.rs Address mw nits 2016-07-28 12:05:45 -04:00
nodemap.rs rustc: move middle::{def,def_id,pat_util} to hir. 2016-04-06 09:14:21 +03:00
num.rs
ppaux.rs Move to {integer} and {float} 2016-07-28 09:49:31 -07:00