55494 Commits

Author SHA1 Message Date
Jonathan Turner
56ffcbd321 Rollup merge of - mneumann:dragonfly-fix-libstd-errno-location, r=alexcrichton
Fix build on DragonFly (unused function errno_location)

Function errno_location() is not used on DragonFly. As warnings are
errors, this breaks the build.
2016-08-07 09:59:43 -07:00
Jonathan Turner
9151431fd4 Rollup merge of - frewsxcv:tracking-is-empty, r=apasel422
Indicate tracking issue for `exact_size_is_empty` unstability.

https://github.com/rust-lang/rust/issues/35428
2016-08-07 09:59:43 -07:00
Jonathan Turner
6bb7f354c1 Rollup merge of - razielgn:updated-e0225-to-new-format, r=jonathandturner
Updated E0225 to new format.

Part of .
Fixes .

r? @jonathandturner
2016-08-07 09:59:43 -07:00
Jonathan Turner
c92ca5f585 Rollup merge of - Keats:err-243, r=jonathandturner
Update error message for E0243 and E0244

Fixes  and  as part of .

r? @jonathandturner
2016-08-07 09:59:43 -07:00
Jonathan Turner
d4ed060a8f Rollup merge of - Limeth:master, r=jonathandturner
E0131 updated to new format

Changes
```
error[E0131]: main function is not allowed to have type parameters
  --> src/test/compile-fail/E0131.rs:11:1
   |
11 | fn main<T>() { //~ ERROR E0131
   | ^
```
to
```
error[E0131]: main function is not allowed to have type parameters
  --> src/test/compile-fail/E0131.rs:11:1
   |
11 | fn main<T>() { //~ ERROR E0131
   |        ^^^ main cannot have type parameters
```
Fixes . Part of .
r? @jonathandturner
2016-08-07 09:59:42 -07:00
Jonathan Turner
02971961c7 Rollup merge of - silenuss:e0029-formatting, r=jonathandturner
Update compiler error 0029 to use new error format.

Part of ,
Addresses 

r? @jonathandturner
2016-08-07 09:59:42 -07:00
Jonathan Turner
7e37442720 Rollup merge of - KiChjang:e0223-new-format, r=jonathandturner
Update E0223 to the new format

Part of .
Fixes .

r? @jonathandturner
2016-08-07 09:59:42 -07:00
Jonathan Turner
4df58252bf Rollup merge of - silenuss:e0027-formatting, r=jonathandturner
Update compiler error 0027 to use new error format.

Part of ,
Addresses 

r? @jonathandturner
2016-08-07 09:59:42 -07:00
Jonathan Turner
46392c8076 Rollup merge of - mikhail-m1:master, r=jonathandturner
Update error format 

Fixes  as part of .

r? @jonathandturner
2016-08-07 09:59:41 -07:00
Jonathan Turner
94cb842887 Rollup merge of - medzin:E0282, r=jonathandturner
Updated error message E0282

Fixes  as part of .

r? @GuillaumeGomez
2016-08-07 09:59:41 -07:00
Jonathan Turner
b69b2dbeb1 Rollup merge of - shri3k:E0040, r=jonathandturner
Updates compiler error E0040 with new format

Addresses  as part of .
r? @GuillaumeGomez
2016-08-07 09:59:41 -07:00
Jonathan Turner
0b567c68da Rollup merge of - shri3k:E0046, r=jonathandturner
Updates compiler error E0046 with new format

Addresses  as part of .
r? @jonathandturner

I've repeated the following in my code. If this is something not desirable then let me know if there's any process to make this any cleaner. Thank you.
```rust
missing_items.iter()
    .map(|name| name.to_string())
     .collect::<Vec<_>>().join("`, `"))
```
2016-08-07 09:59:40 -07:00
Jonathan Turner
f9f6fd4fbb Rollup merge of - yossi-k:issue/35277, r=jonathandturner
Update E0185 and E0186 to new format

Part of .
Fixes .
Fixes .
r? @jonathandturner
2016-08-07 09:59:40 -07:00
Yossi Konstantinovsky
64873965fa Update E0185 and E0186 to new format 2016-08-07 17:23:17 +03:00
Yojan Shrestha
b564c6a5e4 Updates compiler error E0040 with new format 2016-08-07 08:31:17 -05:00
Yojan Shrestha
ed72c65f72 Updates compiler error E0046 with new format 2016-08-07 08:24:36 -05:00
bors
f5e7a5910d Auto merge of - medzin:E0252, r=GuillaumeGomez
Updated error message E0252

Fixes  as part of .

r? @GuillaumeGomez
2016-08-07 05:48:47 -07:00
bors
42903d9a8f Auto merge of - frewsxcv:20847, r=alexcrichton
Add regression test for .

https://github.com/rust-lang/rust/issues/20847
2016-08-07 01:31:43 -07:00
bors
877dfeb572 Auto merge of - Amanieu:rwlock_eagain, r=alexcrichton
Handle RwLock reader count overflow

`pthread_rwlock_rdlock` may return `EAGAIN` if the maximum reader count overflows. We shouldn't return a successful lock in that case.
2016-08-06 19:50:48 -07:00
Vincent Prouillet
02f3609a01 Update error message for E0243 and E0244 2016-08-07 01:31:09 +01:00
Jakub Hlusička
5e06da29a7 E0131 updated to new format 2016-08-07 00:09:54 +02:00
Michael Neumann
e8da9159fb Fix build on DragonFly (unused function errno_location)
Function errno_location() is not used on DragonFly. As warnings are
errors, this breaks the build.
2016-08-06 22:01:51 +02:00
Corey Farwell
7fd7af9199 Add regression test for . 2016-08-06 16:01:12 -04:00
Adam Medziński
19e45799a5 Updated error message E0282 2016-08-06 21:35:02 +02:00
bors
ddf92ffae4 Auto merge of - GuillaumeGomez:err_codes2, r=jonathandturner
Err codes

r? @jonathandturner
2016-08-06 12:29:28 -07:00
Corey Farwell
95cce86fa9 Indicate tracking issue for exact_size_is_empty unstability. 2016-08-06 15:16:32 -04:00
Guillaume Gomez
4e2dd8d24a Add new error code tests 2016-08-06 16:31:20 +02:00
Federico Ravasio
eb469d60b6 Updated E0225 to new format. 2016-08-06 15:36:35 +02:00
bors
444ff9fbfb Auto merge of - eddyb:rollup, r=eddyb
Rollup of 21 pull requests

- Successful merges: , , , , , , , , , , , , , , , , , , , , 
- Failed merges: , 
2016-08-06 05:02:16 -07:00
Eduard-Mihai Burtescu
67f082287d Rollup merge of - TheZoq2:master, r=jonathandturner
Update E0004 to use labels

Fixes  and is part of 

"r? @jonathandturner
2016-08-06 15:01:23 +03:00
Eduard-Mihai Burtescu
56cadb6a98 Rollup merge of - trixnz:update-error-373, r=jonathandturner
Update error format for E0373

Fixes  as part of 

r? @jonathandturner
2016-08-06 15:01:23 +03:00
Eduard-Mihai Burtescu
77c342e03c Rollup merge of - mrabault:e0229_format, r=jonathandturner
Update E0229 to new format

Hello,

This fixes . I ran the tests, no unit test broke, even though some were ignored.

Cheers

r? @jonathandturner
2016-08-06 15:01:22 +03:00
Eduard-Mihai Burtescu
b053da3a68 Rollup merge of - oijazsh:E0107, r=jonathandturner
Update E0107 message to new format

Fixes  as part of .

r? @jonathandturner
2016-08-06 15:01:22 +03:00
Eduard-Mihai Burtescu
aba49ac981 Rollup merge of - Keats:err-323, r=jonathandturner
Update error message for E0323, E0324 and E0325

 Fixes ,  and  as part of 

r? @jonathandturner
2016-08-06 15:01:22 +03:00
Eduard-Mihai Burtescu
b722358860 Rollup merge of - razielgn:updated-e0306-to-new-format, r=jonathandturner
Updated E0306 to new format.

Part of .
Fixes .

r? @jonathandturner
2016-08-06 15:01:22 +03:00
Eduard-Mihai Burtescu
8747b5bc61 Rollup merge of - shantanuraj:master, r=jonathandturner
Update E0207 to use struct_span_err, add span_label

Fixes  part of 

r? @jonathandturner
2016-08-06 15:01:22 +03:00
Eduard-Mihai Burtescu
a7b7417c28 Rollup merge of - kc1212:e0379, r=jonathandturner
Update E0379 to new format 

Fixes , as part of .

But this does not include the bonus. From my understanding a Span is defined by a `hi` and a `lo` position within some context. A naive way would be to mutate the span so that `hi` is 5 positions from `lo` which corresponds to the `const` keyword. But this methods feels a bit rigid. Is there another way to do this?

r? @jonathandturner
2016-08-06 15:01:21 +03:00
Eduard-Mihai Burtescu
c846c30584 Rollup merge of - GuillaumeGomez:err_codes, r=jonathandturner
Err codes

r? @jonathandturner
2016-08-06 15:01:21 +03:00
Eduard-Mihai Burtescu
75c86cadad Rollup merge of - Tiwalun:fix-err-msg-e0106, r=jonathandturner
Update E0106 error message to new format.

This fixes , as part of the big error message update in 

r? @jonathandturner
2016-08-06 15:01:21 +03:00
Eduard-Mihai Burtescu
b9c5fa4023 Rollup merge of - poveda-ruiz:master, r=jonathandturner
Updated E0081 to new format

Part of . r? @jonathandturner
2016-08-06 15:01:21 +03:00
Eduard-Mihai Burtescu
8e1b96a690 Rollup merge of - jaredwy:update-error-69, r=jonathandturner
Updated error format for E0069

Fixes  which is part of the error bonanza at 

r? @jonathandturner
2016-08-06 15:01:21 +03:00
Eduard-Mihai Burtescu
bb1ff9d850 Rollup merge of - Roybie:35271-E0166-update-error-format, r=GuillaumeGomez
Update error message for E0166

Fixes  as part of .

r? @jonathandturner
2016-08-06 15:01:20 +03:00
Eduard-Mihai Burtescu
d9cc84b6f9 Rollup merge of - dns2utf8:man_page_rustc, r=nikomatsakis
Update the man page rustc.1

Should the page become a generated one so the version is allways up to date?
2016-08-06 15:01:20 +03:00
Eduard-Mihai Burtescu
c1fe071cfd Rollup merge of - apasel422:repr, r=GuillaumeGomez
Clean up `std::raw` docs

There is no longer a `Repr` trait, so mentioning a missing impl of it was potentially confusing.

r? @steveklabnik
2016-08-06 15:01:20 +03:00
Eduard-Mihai Burtescu
68f7b26504 Rollup merge of - tbu-:pr_comment_on_seek_cast, r=GuillaumeGomez
Comment on the casts in the `seek` implementations on files
2016-08-06 15:01:20 +03:00
Eduard-Mihai Burtescu
8e04264b23 Rollup merge of - srinivasreddy:librust_pass_rustfmt, r=nikomatsakis
run rustfmt on librustc_passes folder
2016-08-06 15:01:20 +03:00
Adam Medziński
f4dd1f9500 Updated error message E0252 2016-08-06 13:31:03 +02:00
silenuss
1d25e2eecc Update compiler error 0029 to use new error format. 2016-08-06 01:29:36 -06:00
silenuss
c9e9d42576 Update compiler error 0027 to use new error format. 2016-08-06 00:44:27 -06:00
bors
ecdd51b7bb Auto merge of - eddyb:ty-hash, r=nikomatsakis
Rewrite TypeId computation to not miss anything and work cross-crate.

Fixes  and also some soundness holes in `Any` due to `TypeId` ignoring most lifetimes.
2016-08-05 23:28:29 -07:00