Commit Graph

56851 Commits

Author SHA1 Message Date
Jonathan Turner
7e37442720 Rollup merge of #35411 - KiChjang:e0223-new-format, r=jonathandturner
Update E0223 to the new format

Part of #35233.
Fixes #35387.

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

Part of #35233,
Addresses #35200

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

Fixes #35304 as part of #35233.

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

Fixes #35312 as part of #35233.

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

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

Addresses #35209 as part of #35233.
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 #35314 - yossi-k:issue/35277, r=jonathandturner
Update E0185 and E0186 to new format

Part of #35233.
Fixes #35277.
Fixes #35276.
r? @jonathandturner
2016-08-07 09:59:40 -07:00
Panashe M. Fundira
0b248f1d29
Update E0205 to the new error format 2016-08-07 12:47:53 -04:00
Terry Sun
03dc48488e Update E0116 to new error code format.
Fixes #35249 as part of #35233.
2016-08-07 11:56:52 -04:00
Novotnik, Petr
98c6770a23 Fix formatting of module layout example 2016-08-07 17:44:47 +02:00
Fran Guijarro
da86ae2338 Update E0101 and E0102 to new format 2016-08-07 12:03:29 -03:00
Jonathan Turner
c350ec7bb3 Fix old call in lexer tests 2016-08-07 07:50:27 -07:00
Jonathan Turner
fad4f32c31 Turn on new errors, json mode. Remove duplicate unicode test 2016-08-07 07:46:49 -07:00
Peter C. Norton
ec1ef79ad9 Updated the messages for E0017
- Fix note message, fix tests.
2016-08-07 10:29:50 -04:00
Peter C. Norton
dfb66c3e2b Update E0010 to use the new format
For https://github.com/rust-lang/rust/issues/35194
2016-08-07 10:27:42 -04: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
Corey Farwell
28218bed8f Utilize PhantomData to enforce !Sync and !Send field. 2016-08-07 09:06:19 -04:00
bors
f5e7a5910d Auto merge of #35362 - medzin:E0252, r=GuillaumeGomez
Updated error message E0252

Fixes #35306 as part of #35233.

r? @GuillaumeGomez
2016-08-07 05:48:47 -07:00
Guillaume Gomez
56eba5a446 Add run-pass test for issue 33498 2016-08-07 13:55:08 +02:00
Felix Rath
e9950618ea save an Instant for the timeout instead of a Duration
requires less bookkeeping. also move some functionality into functions,
to keep the loop cleaner.
2016-08-07 13:40:04 +02:00
bors
42903d9a8f Auto merge of #35432 - frewsxcv:20847, r=alexcrichton
Add regression test for #20847.

https://github.com/rust-lang/rust/issues/20847
2016-08-07 01:31:43 -07:00
Panashe M. Fundira
54e1e98eab
Update E0204 to the new error format 2016-08-07 03:53:32 -04:00
Jupp Müller
6ca90942e7 Add --test-threads option to test binaries
This change allows parallelism of test runs to be specified by a
command line flag names --test-threads in addition to the existing
environment variable RUST_TEST_THREADS. Fixes #25636.
2016-08-07 09:41:13 +02:00
Antti Keränen
e91f3f6d12
Update error E0118 to new format
Fixes #35251
Also changes the span of the error to the span of the type
as suggested in the bonus section of #35251
2016-08-07 10:40:38 +03:00
Antti Keränen
ac10b5f127
Update error E0117 to new format
Fixes #35250
2016-08-07 10:38:29 +03:00
Georg Brandl
59af2ac098 typeck: suggest (x.field)(...) to call struct fields even when x is a reference
Fixes: #33784
2016-08-07 09:36:48 +02:00
ubsan
7c1bb9ae0d Finish fixing the operator precedence tables
Add the unstable `:` colon and `<-` inplace operators.
2016-08-06 23:57:18 -07:00
Jeffrey Seyfried
cdbfe9fce3 Add test for metavariable hygiene. 2016-08-07 06:54:56 +00:00
Jeffrey Seyfried
8f73fc83dd Add regression test. 2016-08-07 06:13:35 +00:00
Jeffrey Seyfried
f9f99c5a9c Make metavariables hygienic. 2016-08-07 06:01:01 +00:00
Srinivas Reddy Thatiparthy
abe1cc79d4
run rustfmt on compiletest folder in src/tools/ folder 2016-08-07 10:21:17 +05:30
Peter C. Norton
2c563c69f4 Update E0023 to the new format
Added some extra code to check for the appropriate ending for numbers ==
1 vs. not 1 in error messages.

Added an extra test so that the plural suffix is seen and exercised.
2016-08-07 00:26:31 -04:00
bors
877dfeb572 Auto merge of #35378 - 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
Corey Farwell
0a6b862ccd Add doc example for std::ffi::NulError::into_vec. 2016-08-06 17:50:37 -04:00
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