55462 Commits

Author SHA1 Message Date
Christian Poveda
8b111a7cf5 Updated E0087 to new format 2016-08-07 17:00:19 -05:00
bors
ddf92ffae4 Auto merge of - GuillaumeGomez:err_codes2, r=jonathandturner
Err codes

r? @jonathandturner
2016-08-06 12:29:28 -07:00
Guillaume Gomez
4e2dd8d24a Add new error code tests 2016-08-06 16:31:20 +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
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
Jared Wyles
1cf5142248 Updated error format for E0069 2016-08-06 09:04:18 +10:00
Andrew Paseltiner
da2b7a65b9
Clean up std::raw docs
There is no longer a `Repr` trait, so mentioning a missing impl of it
was potentially confusing.
2016-08-05 17:52:37 -04:00
Eduard Burtescu
d42da7b8f3 Rewrite TypeId computation to not miss anything and work cross-crate. 2016-08-06 00:50:13 +03:00
bors
7bf54f90d6 Auto merge of - jseyfried:groundwork_for_new_import_semantics, r=nrc
resolve: diagnostics improvement and groundwork for RFC 1560

Fixes , fixes , and lays groundwork for  (cc ).
r? @nrc
2016-08-05 14:42:42 -07:00
Guillaume Gomez
424e77200d Add error code check in librustc_const_eval/diagnostics.rs 2016-08-05 22:17:41 +02:00
Jeffrey Seyfried
de5eaab87c Update cargo_test hash. 2016-08-05 19:28:34 +00:00
Vincent Prouillet
e0035c9797 Update error message for E0323, E0324 and E0325 2016-08-05 20:10:27 +01:00
TheZoq2
422e0d590f Update E0004 to use labels 2016-08-05 21:07:34 +02:00
Shantanu Raj
58b618e527 Update unit tests to accord for label in E0207 2016-08-06 00:04:27 +05:30
Tobias Bucher
291b6f16bb Comment on the casts in the seek implementations on files 2016-08-05 20:18:31 +02:00
Matthias Rabault
51a270f5e7 Fix E0229 unit tests 2016-08-05 20:11:26 +02:00
Omer Sheikh
2061d656e5 Add E0107 tests for multiple lifetime params 2016-08-05 22:56:10 +05:00
trixnz
7eca647e5a Update error format for E0373 2016-08-05 19:53:14 +02:00
Christian Poveda
00179a75c7 Updated style of unit test 2016-08-05 12:05:29 -05:00
Omer Sheikh
3575812e44 Update E0107 message to new format 2016-08-05 21:02:27 +05:00
Matthias Rabault
40b7ace386 Update E0229 to new format 2016-08-05 17:43:44 +02:00
Federico Ravasio
b7468fa189 Updated E0306 to new format. 2016-08-05 16:55:14 +02:00
bors
b30eff7ba7 Auto merge of - GuillaumeGomez:rollup, r=GuillaumeGomez
Rollup of 30 pull requests

- Successful merges: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , 
- Failed merges:
2016-08-05 07:37:16 -07:00
Guillaume Gomez
cd48161e2c Rollup merge of - Archytaus:master, r=GuillaumeGomez
Updated E0391 and E0404 to new error format

Fixes  and  as part of .

r? @GuillaumeGomez
2016-08-05 16:13:00 +02:00
Guillaume Gomez
dbef510f3c Rollup merge of - birryree:E0368_update, r=jonathandturner
Fix for issue  - updating error message for for E0368 to includ…

…e a span_label.

This fixes  as part of 

r? @jonathandturner
2016-08-05 16:13:00 +02:00
Guillaume Gomez
0339904fb4 Rollup merge of - nickmass:e0055-formatting, r=jonathandturner
Update compiler error E0055 to use new error format

Addresses , Part of the  meta bug

r? @jonathandturner
2016-08-05 16:13:00 +02:00
Guillaume Gomez
8b9700898b Rollup merge of - trixnz:update-error-62, r=jonathandturner
Update error format for E0062

Fixes  as part of 

There seems to be an issue with the old format ignoring the labels which results in the incorrect line being rendered in the old format. I spoke with @jonathandturner about this and it seems to be a bug. Pertinent information [here](https://gist.github.com/trixnz/ad11e68687529e164427df8f8eb63116).

r? @jonathandturner
2016-08-05 16:12:59 +02:00
Guillaume Gomez
31da06bebb Rollup merge of - circuitfox:E0119-update-error-format, r=jonathandturner
E0119 update error format

Part of , fixes 

r? @jonathandturner
2016-08-05 16:12:59 +02:00
Guillaume Gomez
6597a28144 Rollup merge of - ubsan:precedence, r=steveklabnik
Fix precedence table in reference

Adds `..` and `...` and puts them above `=`

r? @steveklabnik
2016-08-05 16:12:59 +02:00
Guillaume Gomez
a7b443fd85 Rollup merge of - Keats:err-137, r=jonathandturner
Update error format for E0137

Fixes  as part of .

r? @jonathandturner
2016-08-05 16:12:59 +02:00
Guillaume Gomez
e9b79d918c Rollup merge of - sciyoshi:update-e0124, r=jonathandturner
Update E0124 to the new error format

Part of . This resolves .

r? @jonathandturner
2016-08-05 16:12:58 +02:00
Guillaume Gomez
84d467c5f9 Rollup merge of - circuitfox:E0110-update-error-format, r=jonathandturner
E0110 update error format

Fixes 

Part of 

r? @jonathandturner
2016-08-05 16:12:58 +02:00
Guillaume Gomez
65a283fac1 Rollup merge of - Keats:err-120, r=jonathandturner
Update error message E0120

Fixes  as part of .

r? @jonathandturner
2016-08-05 16:12:57 +02:00