Commit Graph

56010 Commits

Author SHA1 Message Date
Panashe M. Fundira
b79e15d32c
Update E0191 to the new error format 2016-08-06 16:35:57 -04: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 #20847. 2016-08-06 16:01:12 -04:00
Guillaume Gomez
574fbbf92c Add E0388 error explanation 2016-08-06 21:45:27 +02:00
Guillaume Gomez
9d8d47d894 Improve librustc_typeck compile_fail check 2016-08-06 21:45:27 +02:00
Guillaume Gomez
f1c2480d47 Add E0312 error explanation 2016-08-06 21:45:24 +02:00
Adam Medziński
19e45799a5 Updated error message E0282 2016-08-06 21:35:02 +02:00
bors
ddf92ffae4 Auto merge of #35393 - 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
Doug Goldstein
5f606f0302
arm-unknown-linux-musleabi updates for ARMv6
The arm-unknown-linux-musleabi target used in meta-rust for Yocto didn't
explicitly set the arch to ARMv6 and soft float but was instead done via
target spec files and never had the compiler running on the target.
2016-08-06 13:45:28 -05:00
Steven Walter
f010393447
Add config for musl-based arm builds 2016-08-06 13:26:49 -05:00
Oliver Forral
6eba89e194 Fixing compiler error E0121 2016-08-06 07:51:53 -07: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 #35407 - eddyb:rollup, r=eddyb
Rollup of 21 pull requests

- Successful merges: #33951, #34916, #35287, #35288, #35351, #35353, #35356, #35362, #35363, #35364, #35366, #35368, #35370, #35372, #35373, #35374, #35375, #35376, #35380, #35393, #35394
- Failed merges: #35331, #35395
2016-08-06 05:02:16 -07:00
Eduard-Mihai Burtescu
67f082287d Rollup merge of #35380 - TheZoq2:master, r=jonathandturner
Update E0004 to use labels

Fixes #35191 and is part of #35233

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

Fixes #35337 as part of #35233

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

Hello,

This fixes #35305. 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 #35373 - oijazsh:E0107, r=jonathandturner
Update E0107 message to new format

Fixes #35246 as part of #35233.

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

 Fixes #35325, #35327 and #35329 as part of #35233

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

Part of #35233.
Fixes #35315.

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

Fixes #35302 part of #35233

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

Fixes #35338, as part of #35233.

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 #35363 - GuillaumeGomez:err_codes, r=jonathandturner
Err codes

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

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

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

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

Fixes #35219 which is part of the error bonanza at #35233

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

Fixes #35271 as part of #35233.

r? @jonathandturner
2016-08-06 15:01:20 +03:00
Eduard-Mihai Burtescu
d9cc84b6f9 Rollup merge of #35287 - 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 #35281 - 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 #34916 - 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 #33951 - 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
Felix Rath
9006913bf5 add warning timeout for tests that run >1min
this makes it easier to identify hanging tests
2016-08-06 11:52:10 +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 #35267 - eddyb:ty-hash, r=nikomatsakis
Rewrite TypeId computation to not miss anything and work cross-crate.

Fixes #33703 and also some soundness holes in `Any` due to `TypeId` ignoring most lifetimes.
2016-08-05 23:28:29 -07:00
Cameron Hart
cbb88faad7 Merge branch 'master' into issue-30961 2016-08-06 15:50:48 +10:00
Keith Yeung
065c685e80 Update E0223 to the new format 2016-08-05 21:31:18 -07:00
Jared Wyles
1cf5142248 Updated error format for E0069 2016-08-06 09:04:18 +10:00
Scott A Carr
28abc0a6aa refactor lvalue_ty to be method of lvalue 2016-08-05 15:59:51 -07: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 #35116 - jseyfried:groundwork_for_new_import_semantics, r=nrc
resolve: diagnostics improvement and groundwork for RFC 1560

Fixes #35115, fixes #35135, and lays groundwork for #32213 (cc #35120).
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
Marco A L Barbosa
1403df72c8 Implement From for Cell, RefCell and UnsafeCell 2016-08-05 16:57:19 -03: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