Jonathan Turner
294ac7b561
Rollup merge of #35536 - hank-der-hafenarbeiter:E0433, r=jonathandturner
...
Updated E0433 to new error message. (no bonus)
Part of #35345
r? @jonathandturner
2016-08-11 06:33:59 -07:00
Jonathan Turner
c7513d79a1
Rollup merge of #35530 - srdja:master, r=jonathandturner
...
Update E0008 and E0007 to new format
Part of #35233
A fix for #35496
r? @jonathandturner
2016-08-11 06:33:59 -07:00
Jonathan Turner
0283443522
Rollup merge of #35528 - Vassah:master, r=jonathandturner
...
Update Error Format for E0091 and E0092
Addresses [#35228 ](https://github.com/rust-lang/rust/issues/35228 ) and [#35229 ](https://github.com/rust-lang/rust/issues/35229 ) as part of [#35233 ](https://github.com/rust-lang/rust/issues/35233 ).
Please let me know if there are any issues; first time contributor.
r? @jonathandturner
2016-08-11 06:33:59 -07:00
Jonathan Turner
853fe86906
Rollup merge of #35486 - KiChjang:e0081-bonus, r=jonathandturner
...
Shrink span to variant discriminant expression for E0081
Part of #35233 .
Extension of #35353 .
Fixes #35224 .
r? @jonathandturner
2016-08-11 06:33:58 -07:00
Jonathan Turner
d2e9573194
Rollup merge of #35445 - pcn:update-E0017-to-new-format, r=arielb1
...
Update e0017 to new format
Updated `span_err!` to use `struct_span_err!` and provide a `span_label` that describes the error in context.
Updated the test to look for the `span_label`s that are provided now.
2016-08-11 06:33:58 -07:00
Jonathan Turner
e24c326400
Rollup merge of #35375 - trixnz:update-error-326, r=jonathandturner
...
Update error format for E0326
Fixes #35335 as part of #35233
r? @jonathandturner
2016-08-11 06:33:57 -07:00
Jonathan Turner
260a379ba5
Rollup merge of #35331 - trixnz:update-error-130, r=jonathandturner
...
Update error format for E0130
Fixes #35256 as part of #35233
r? @jonathandturner
2016-08-11 06:33:57 -07:00
Chiu-Hsiang Hsu
92f7e85b30
Update E0138 to new format
2016-08-11 10:18:23 +08:00
petrochenkov
d43b9cb487
privacy: Move private-in-public diagnostics for type aliases to the public interface location
2016-08-11 00:32:07 +03:00
Vadim Petrochenkov
b7db9e88bf
privacy: Substitute type aliases in private-in-public checker
2016-08-11 00:32:07 +03:00
Chris Stankus
c5f9febc48
E0072 update error format
2016-08-10 13:37:59 -05:00
Luke Hinds
c974749be8
Update E0253.rs
...
changed error text
2016-08-10 19:15:39 +01:00
trixnz
e2cc1571ba
Fixed no-pattern-in-args test for new E0130 format
2016-08-10 19:55:54 +02:00
trixnz
f656a92cbb
Update error format for E0130
2016-08-10 19:55:54 +02:00
trixnz
034df94780
Update error format for E0326
2016-08-10 19:04:11 +02:00
bors
1f2ae3849c
Auto merge of #35525 - jonathandturner:rollup, r=jonathandturner
...
Rollup of 15 pull requests
- Successful merges: #35371 , #35396 , #35446 , #35449 , #35452 , #35458 , #35465 , #35466 , #35470 , #35475 , #35477 , #35484 , #35504 , #35507 , #35524
- Failed merges: #35395 , #35415
2016-08-10 10:03:08 -07:00
Chiu-Hsiang Hsu
e7065b7f92
Update E0133 to new format
2016-08-10 15:29:45 +08:00
Jakub Hlusička
46265a0809
E0263 updated to new format. rust-lang/rust#35518
2016-08-09 23:56:19 +02:00
Luke Hinds
5c2c19aa89
Update error message for E0253 #35512
...
Fixes #35512 . Part of #35233 .
2016-08-09 22:34:23 +01:00
Chris Stankus
766a0ab651
E0128 update error format
2016-08-09 15:13:32 -05:00
ShyamSundarB
1a6fac7ed2
E0248 Change in issue format
...
E0248 Change in issue format
E0267 UT New Format
E0268 UT New Format
E0267 & E0268 New Error Format
2016-08-10 01:15:45 +05:30
srdja
aa40ec7f11
Update E0007 to new format
2016-08-09 21:23:11 +02:00
Panashe M. Fundira
20ea8cba53
Update E0038 to the new error format
2016-08-09 13:59:00 -04:00
José manuel Barroso Galindo
71a34d728b
Merge branch 'master' of github.com:theypsilon/rust
2016-08-10 00:35:16 +07:00
José manuel Barroso Galindo
0e8ec4333c
Update error message E0384 to new format
...
Part of #35233
Fixes #35184
2016-08-10 00:07:42 +07:00
Jonathan Turner
fb1c6acc81
Update E0087.rs
2016-08-09 07:53:52 -07:00
hank-der-hafenarbeiter
2adc07f462
added unit test
2016-08-09 14:40:07 +02:00
hank-der-hafenarbeiter
b5ead0060c
updated unit test
2016-08-09 14:02:25 +02:00
DarkEld3r
127489a896
Update compiler error 0093 to use new error format
2016-08-09 13:13:04 +03:00
srdja
0cb8439aa3
Update E0008 to new format
2016-08-08 23:36:50 +02:00
Stephen Lazaro
da8fed5f90
Update unit test for E0092
2016-08-08 14:10:59 -07:00
Stephen Lazaro
156c822ab2
Update error messages for E0091 and E0092
2016-08-08 14:10:09 -07:00
Jonathan Turner
f835b38385
Rollup merge of #35524 - garekkream:update-E0162-new-error-format, r=jonathandturner
...
Update E0162 to the new format
Part of #35233 .
Fixes #35268 .
r? @jonathandturner
2016-08-08 13:25:59 -07:00
Jonathan Turner
7db3f86966
Rollup merge of #35507 - hank-der-hafenarbeiter:master, r=jonathandturner
...
Updated Error mesage to new format for E0221
Part of #35386
r? @jonathandturner
2016-08-08 13:25:59 -07:00
Jonathan Turner
0a3766a41a
Rollup merge of #35504 - razielgn:updated-e0026-to-new-format, r=jonathandturner
...
Updated E0026 to new format.
Part of #35233 .
Fixes #35497 .
r? @jonathandturner
2016-08-08 13:25:59 -07:00
Jonathan Turner
a72891e9e8
Rollup merge of #35484 - KiChjang:e0205-bonus, r=GuillaumeGomez
...
Shrink E0205 span label to the trait being implemented
Part of #35233 .
Extension of #35468 .
Closes #35382 .
r? @GuillaumeGomez
2016-08-08 13:25:59 -07:00
Jonathan Turner
bbbac59c29
Rollup merge of #35475 - shyaamsundhar:patch-1, r=jonathandturner
...
E0248 New Format
2016-08-08 13:25:58 -07:00
Jonathan Turner
0e4e8e9544
Rollup merge of #35470 - munyari:e0214, r=jonathandturner
...
Update E0214 to the new error format
Part of #35233
Addresses #35383
"r? @jonathandturner
2016-08-08 13:25:58 -07:00
Jonathan Turner
c479f0210c
Rollup merge of #35449 - poveda-ruiz:master, r=jonathandturner
...
Updated E0087 to new format
Part of #35233 . r? @jonathandturner
2016-08-08 13:25:56 -07:00
Jonathan Turner
7979da0783
Rollup merge of #35446 - pcn:update-E0023-to-new-format, r=jonathandturner
...
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-08 13:25:56 -07:00
Jonathan Turner
dd38172903
Rollup merge of #35396 - munyari:e0191, r=jonathandturner
...
Update E0191 to the new error format
Part of #35233
"r? @jonathandturner
2016-08-08 13:25:56 -07:00
Krzysztof Garczynski
daf7c60d16
Update E0162 to the new format
2016-08-08 21:42:49 +02:00
Federico Ravasio
ee38609c20
Updated E0026 to new format.
2016-08-08 20:58:21 +02:00
hank-der-hafenarbeiter
6eb0218075
updated unit test!
2016-08-08 20:52:00 +02:00
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
Keith Yeung
bd2bd6c71e
Shrink span to variant discriminant expression for E0081
2016-08-08 09:56:41 -07:00
Guillaume Gomez
0658941cd2
Add new error code tests
2016-08-08 18:42:46 +02: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
c6e17ec276
Shrink E0205 span label to the trait being implemented
2016-08-07 22:45:00 -07:00
Keith Yeung
53baa09bfe
Update E0206 message to new format
2016-08-07 15:35:39 -07:00
Christian Poveda
8b111a7cf5
Updated E0087 to new format
2016-08-07 17:00:19 -05:00
ShyamSundarB
4a99a9de03
E0248 Change in issue format
2016-08-08 00:12:53 +05:30
Panashe M. Fundira
f07f093522
Update E0214 to the new error format
2016-08-07 13:21:23 -04: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
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
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
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
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
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
Panashe M. Fundira
b79e15d32c
Update E0191 to the new error format
2016-08-06 16:35:57 -04: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
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
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
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
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
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
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
Mikhail Modin
e7e5cfe312
Merge branch 'master' of https://github.com/rust-lang/rust
2016-08-05 19:01:48 +03:00
Mikhail Modin
2f5294e1d6
Fixes #35304
2016-08-05 18:57:37 +03:00
Federico Ravasio
b7468fa189
Updated E0306 to new format.
2016-08-05 16:55:14 +02:00
bors
b30eff7ba7
Auto merge of #35365 - GuillaumeGomez:rollup, r=GuillaumeGomez
...
Rollup of 30 pull requests
- Successful merges: #34319 , #35041 , #35042 , #35076 , #35109 , #35137 , #35175 , #35181 , #35182 , #35189 , #35239 , #35264 , #35266 , #35281 , #35285 , #35289 , #35291 , #35294 , #35296 , #35297 , #35298 , #35299 , #35318 , #35319 , #35324 , #35326 , #35328 , #35333 , #35359 , #35362
- Failed merges:
2016-08-05 07:37:16 -07:00
Guillaume Gomez
cd48161e2c
Rollup merge of #35359 - Archytaus:master, r=GuillaumeGomez
...
Updated E0391 and E0404 to new error format
Fixes #35341 and #35342 as part of #35233 .
r? @GuillaumeGomez
2016-08-05 16:13:00 +02:00
Guillaume Gomez
dbef510f3c
Rollup merge of #35350 - birryree:E0368_update, r=jonathandturner
...
Fix for issue #35336 - updating error message for for E0368 to includ…
…e a span_label.
This fixes #35336 as part of #35233
r? @jonathandturner
2016-08-05 16:13:00 +02:00
Guillaume Gomez
0339904fb4
Rollup merge of #35333 - nickmass:e0055-formatting, r=jonathandturner
...
Update compiler error E0055 to use new error format
Addresses #35213 , Part of the #35233 meta bug
r? @jonathandturner
2016-08-05 16:13:00 +02:00
Guillaume Gomez
8b9700898b
Rollup merge of #35328 - trixnz:update-error-62, r=jonathandturner
...
Update error format for E0062
Fixes #35217 as part of #35233
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 #35326 - circuitfox:E0119-update-error-format, r=jonathandturner
...
E0119 update error format
Part of #35233 , fixes #35252
r? @jonathandturner
2016-08-05 16:12:59 +02:00
Guillaume Gomez
a7b443fd85
Rollup merge of #35319 - Keats:err-137, r=jonathandturner
...
Update error format for E0137
Fixes #35265 as part of #35233 .
r? @jonathandturner
2016-08-05 16:12:59 +02:00
Guillaume Gomez
e9b79d918c
Rollup merge of #35318 - sciyoshi:update-e0124, r=jonathandturner
...
Update E0124 to the new error format
Part of #35233 . This resolves #35255 .
r? @jonathandturner
2016-08-05 16:12:58 +02:00
Guillaume Gomez
84d467c5f9
Rollup merge of #35299 - circuitfox:E0110-update-error-format, r=jonathandturner
...
E0110 update error format
Fixes #35248
Part of #35233
r? @jonathandturner
2016-08-05 16:12:58 +02:00
Guillaume Gomez
65a283fac1
Rollup merge of #35298 - Keats:err-120, r=jonathandturner
...
Update error message E0120
Fixes #35253 as part of #35233 .
r? @jonathandturner
2016-08-05 16:12:57 +02:00
Guillaume Gomez
8038c17da5
Rollup merge of #35297 - saml:e0001-label, r=jonathandturner
...
Set label for unreachable pattern
Part of #35233
Fixes #35190
r? @jonathandturner
2016-08-05 16:12:57 +02:00
Guillaume Gomez
7a3164010a
Rollup merge of #35296 - medzin:master, r=jonathandturner
...
Update error message E0178
Fixes #35273 as part of #35233 .
2016-08-05 16:12:57 +02:00
Guillaume Gomez
709fd096d6
Rollup merge of #35294 - Roybie:35272-E0172-update-error-format, r=jonathandturner
...
Update error message for E0172
Fixes #35272 as part of #35233 .
r? @jonathandturner
2016-08-05 16:12:57 +02:00
Guillaume Gomez
527e326756
Rollup merge of #35291 - yossi-k:master, r=jonathandturner
...
Update E0079 to new format
Fixes #35222 . Part of #35233 .
r? @GuillaumeGomez
2016-08-05 16:12:56 +02:00
Guillaume Gomez
7cb933ed82
Rollup merge of #35289 - birryree:E0060_E0061_format_update, r=jonathandturner
...
E0060 e0061 format update
This fixes #35215 and fixes #35216 as part of #35233
A separate issue will be opened to track the bonus portion of the tickets as @jaredwy will be handling that part.
?r @jonathandturner
2016-08-05 16:12:56 +02:00
Guillaume Gomez
da981cf94d
Rollup merge of #35285 - razielgn:updated-e0071-to-new-format, r=jonathandturner
...
Updated E0071 to new format.
Bonus: the span underlines only the name of the thing that's not a struct rather than the whole expression.
Part of #35233 .
Fixes #35220 .
r? @jonathandturner
2016-08-05 16:12:56 +02:00
Guillaume Gomez
9186db86fd
Rollup merge of #35266 - circuitfox:35247-E0109-update-error-format, r=jonathandturner
...
E0109 Update error format
Fixes #35247 as part of #35233 .
r? @jonathandturner
2016-08-05 16:12:56 +02:00
Guillaume Gomez
158597fcd5
Rollup merge of #35264 - GuillaumeGomez:E0132_update, r=jonathandturner
...
E0132 update
Fixes #35258 .
r? @jonathandturner
2016-08-05 16:12:55 +02:00
Roy Brunton
5eebb92c2f
Update error message for E0166
2016-08-05 15:06:36 +01:00
bors
4c02363852
Auto merge of #35317 - TimNN:internal-deprecated, r=eddyb
...
Ignore deprecation for items deprecated by the same attribute
Whenever a node would be reported as deprecated:
- check if the parent item is also deprecated
- if it is and both were deprecated by the same attribute
- skip the deprecation warning
fixes #35128
closes #16490
r? @eddyb
2016-08-05 04:38:41 -07:00
Guillaume Gomez
7cd1779c31
Add new error code tests
2016-08-05 13:17:39 +02:00
kc1212
764d5cfafb
Update E0379 to new format #35338
2016-08-05 22:52:57 +12:00
Ryan Scott
a6ffa42f7d
Update E0391 to new format.
2016-08-05 17:36:43 +09:00
bors
41fe4b7195
Auto merge of #35283 - shantanuraj:master, r=jonathandturner
...
Update wording on E0080
Part of #35223
Update wording on error E0080. Change "attempted" to "attempt"
r? @GuillaumeGomez
2016-08-05 00:17:18 -07:00