Rahul Sharma
5ec6f39a65
Update E0195 to new error format
2016-08-23 22:07:27 +05:30
bors
f84008b558
Auto merge of #35492 - jonathandturner:fix_nightlies, r=arielb1
...
Fix for nightlies
Remove the NOTE tests for now so that nightlies will pass. We'll move many of these tests to UI tests later, as this is a better place to check the notes.
cc @alexcrichton
2016-08-08 11:17:05 -07:00
Jonathan Turner
5f1c6a0076
Remove the NOTE tests for now. We'll move to UI tests later
2016-08-08 09:26:32 -07:00
bors
b42a384a80
Auto merge of #35456 - birkenfeld:issue-33784, r=nikomatsakis
...
typeck: suggest (x.field)(...) to call struct fields even when x is a reference
Fixes : #33784
Note: This is a reopen of #33785 .
2016-08-08 07:47:51 -07:00
Keith Yeung
53baa09bfe
Update E0206 message to new format
2016-08-07 15:35:39 -07:00
Jonathan Turner
995eeb02ca
Rollup merge of #35468 - munyari:e0205, r=jonathandturner
...
Update E0205 to the new error format
Part of #35233
Addresses #35382
"r? @jonathandturner
2016-08-07 09:59:45 -07:00
Jonathan Turner
8bd8cef318
Rollup merge of #35467 - terrynsun:master, r=jonathandturner
...
Update E0116 to new error code format.
Fixes #35249 as part of #35233 .
r? @jonathandturner
2016-08-07 09:59:44 -07:00
Jonathan Turner
cfebba5be3
Rollup merge of #35455 - munyari:e0204, r=jonathandturner
...
Update E0204 to the new error format
Part of #35233
Addresses #35381
"r? @jonathandturner
2016-08-07 09:59:44 -07:00
Jonathan Turner
fe7b3ae13b
Rollup merge of #35454 - Detegr:master, r=jonathandturner
...
New error message format for E0117 and E0118
Part of #35233
r? @jonathandturner
2016-08-07 09:59:44 -07:00
Jonathan Turner
a6cf011334
Rollup merge of #35443 - franleplant:master, r=jonathandturner
...
Update E0101 and E0102 to new format
Part of #35233
Fixes #35243
Fixes #35244
r? @jonathandturner
PS: My first contribution
2016-08-07 09:59:44 -07:00
Jonathan Turner
7d9ea8b371
Rollup merge of #35439 - pcn:update-E0010-error-message, r=jonathandturner
...
Update E0010 to use the new format
For https://github.com/rust-lang/rust/issues/35194
2016-08-07 09:59:44 -07:00
Jonathan Turner
87e129ee69
Rollup merge of #35434 - intrepion:fix-compile-fail-e0121, r=jonathandturner
...
Fixing compiler error E0121
Fixes #35254 and part of #35233
2016-08-07 09:59:43 -07:00
Jonathan Turner
6bb7f354c1
Rollup merge of #35421 - razielgn:updated-e0225-to-new-format, r=jonathandturner
...
Updated E0225 to new format.
Part of #35233 .
Fixes #35388 .
r? @jonathandturner
2016-08-07 09:59:43 -07:00
Jonathan Turner
c92ca5f585
Rollup merge of #35419 - Keats:err-243, r=jonathandturner
...
Update error message for E0243 and E0244
Fixes #35389 and #35390 as part of #35233 .
r? @jonathandturner
2016-08-07 09:59:43 -07:00
Jonathan Turner
d4ed060a8f
Rollup merge of #35417 - 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 #35257 . Part of #35233 .
r? @jonathandturner
2016-08-07 09:59:42 -07:00
Jonathan Turner
02971961c7
Rollup merge of #35413 - silenuss:e0029-formatting, r=jonathandturner
...
Update compiler error 0029 to use new error format.
Part of #35233 ,
Addresses #35201
r? @jonathandturner
2016-08-07 09:59:42 -07:00
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
Fran Guijarro
da86ae2338
Update E0101 and E0102 to new format
2016-08-07 12:03:29 -03: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
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
Panashe M. Fundira
54e1e98eab
Update E0204 to the new error format
2016-08-07 03:53:32 -04: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
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
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
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
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